Ver código fonte

Golint auto-generated file

Fix auto-generation script to golint auto-generated files.

Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
Zhang Wei 9 anos atrás
pai
commit
a7b73e57bc
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      hack/make/.go-autogen

+ 2 - 1
hack/make/.go-autogen

@@ -5,7 +5,7 @@ rm -rf autogen
 cat > dockerversion/version_autogen.go <<DVEOF
 // +build autogen
 
-// Package version is auto-generated at build-time
+// Package dockerversion is auto-generated at build-time
 package dockerversion
 
 // Default build-time variable for library-import.
@@ -25,6 +25,7 @@ DVEOF
 # Compile the Windows resources into the sources
 mkdir -p autogen/winresources
 cat > autogen/winresources/resources.go <<WREOF
+// Package winresources is auto-generated at build-time
 // AUTOGENERATED FILE; see $BASH_SOURCE
 package winresources