diff --git a/Dockerfile.dapper b/Dockerfile.dapper index 28f65225..a59903f3 100644 --- a/Dockerfile.dapper +++ b/Dockerfile.dapper @@ -142,6 +142,9 @@ RUN curl -fL ${!BUILD_DOCKER_URL} > /usr/bin/docker && \ # Install Trash RUN go get github.com/rancher/trash +# Install golint +RUN go get github.com/golang/lint/golint + RUN go get gopkg.in/check.v1 # Install dapper diff --git a/config/validate.go b/config/validate.go index 42cb685b..142ec923 100644 --- a/config/validate.go +++ b/config/validate.go @@ -5,7 +5,8 @@ import ( "github.com/xeipuuv/gojsonschema" ) -// TODO: use this function from libcompose +// ConvertKeysToStrings is temporarily copied from libcompose +// TODO: just import this in the future func ConvertKeysToStrings(item interface{}) interface{} { switch typedDatas := item.(type) { case map[string]interface{}: