1
0
mirror of https://github.com/rancher/os.git synced 2025-07-31 06:32:09 +00:00

Fix golint error

This commit is contained in:
Josh Curl 2016-11-28 17:55:05 -08:00
parent 6790e050de
commit 20856a4171
No known key found for this signature in database
GPG Key ID: 82B504B9BCCFA677

View File

@ -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{}: