Merge pull request #7991 from eparis/boilerplate-go-crash
Fix boilerplate check crash if .go file has no comments
This commit is contained in:
commit
c46a90faa8
|
|
@ -1,5 +1,3 @@
|
||||||
package main
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Copyright 2014 The Kubernetes Authors All rights reserved.
|
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.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue