Skip to content

Commit 896f93b

Browse files
author
jmccormick2001
committed
fix custom configmap validation to not look for pgbackrest config files any longer
1 parent 7446935 commit 896f93b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

apiserver/clusterservice/clusterimpl.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,15 +1104,6 @@ func validateCustomConfig(configmapname string) (bool, error) {
11041104
return found, err
11051105
}
11061106

1107-
//make sure custom config has a pgbackrest.conf file in it
1108-
if mymap.Data["pgbackrest.conf"] != "" {
1109-
log.Debugf("found pgbackrest.conf in map %s", mymap.Data["pgbackrest.conf"])
1110-
} else {
1111-
log.Error("pgbackrest.conf NOT found pgbackrest.conf in custom config map")
1112-
return true, errors.New(configmapname + " custom config map doesn't include a pgbackrest.conf which is required")
1113-
1114-
}
1115-
11161107
return found, err
11171108
}
11181109

0 commit comments

Comments
 (0)