浏览代码

Merge pull request #15175 from MHBauer/cliconfig-lint

additional lint fix and enable linter for cliconfig package
Tibor Vass 10 年之前
父节点
当前提交
b48d744b07
共有 2 个文件被更改,包括 2 次插入1 次删除
  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

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