mirror of
https://github.com/stakater/Reloader.git
synced 2026-05-23 17:13:05 +00:00
Implement golangci review comments on PR-2
This commit is contained in:
@@ -326,7 +326,7 @@ func ConvertResourceToSHA(resourceType string, namespace string, resourceName st
|
||||
} else if resourceType == ConfigmapResourceType {
|
||||
configmap := GetConfigmap(namespace, resourceName, data)
|
||||
for k, v := range configmap.Data {
|
||||
values = append(values, k+"="+string(v[:]))
|
||||
values = append(values, k+"="+v)
|
||||
}
|
||||
}
|
||||
sort.Strings(values)
|
||||
|
||||
Reference in New Issue
Block a user