Kaynağa Gözat

lint fix and enable linter for cliconfig package

Signed-off-by: Morgan Bauer <mbauer@us.ibm.com>
Morgan Bauer 10 yıl önce
ebeveyn
işleme
e809919e26
2 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 1 1
      cliconfig/config.go
  2. 1 0
      hack/make/validate-lint

+ 1 - 1
cliconfig/config.go

@@ -14,7 +14,7 @@ import (
 )
 
 const (
-	// ConfigFile is the name of config file
+	// ConfigFileName is the name of config file
 	ConfigFileName = "config.json"
 	oldConfigfile  = ".dockercfg"
 

+ 1 - 0
hack/make/validate-lint

@@ -15,6 +15,7 @@ packages=(
 	builder/command
 	builder/parser
 	builder/parser/dumper
+	cliconfig
 	daemon/events
 	daemon/execdriver
 	daemon/execdriver/execdrivers