Merge pull request #7991 from eparis/boilerplate-go-crash

Fix boilerplate check crash if .go file has no comments
This commit is contained in:
Nikhil Jindal
2015-05-12 10:24:43 -07:00
2 changed files with 20 additions and 13 deletions

View File

@@ -1,5 +1,3 @@
package main
/*
Copyright 2014 The Kubernetes Authors All rights reserved.
@@ -16,6 +14,8 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package main
import (
"encoding/json"
"fmt"