Skip to content

Commit 2d34e6b

Browse files
author
jmccormick2001
committed
fix backrest config file validation
1 parent 896f93b commit 2d34e6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apiserver/clusterservice/clusterimpl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,7 @@ func getType(pod *v1.Pod) string {
10991099

11001100
func validateCustomConfig(configmapname string) (bool, error) {
11011101
var err error
1102-
mymap, found := kubeapi.GetConfigMap(apiserver.Clientset, configmapname, apiserver.Namespace)
1102+
_, found := kubeapi.GetConfigMap(apiserver.Clientset, configmapname, apiserver.Namespace)
11031103
if !found {
11041104
return found, err
11051105
}

0 commit comments

Comments
 (0)