Skip to content

Commit d157ec7

Browse files
Removed duplicated code
Signed-off-by: Darko Radisic <[email protected]>
1 parent 9b0a4e9 commit d157ec7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/cmd/server/server.go

-3
Original file line numberDiff line numberDiff line change
@@ -458,8 +458,6 @@ func (s *server) validateBackupStorageLocations() error {
458458
// - Limit ranges go before pods or controllers so pods can use them.
459459
// - Pods go before controllers so they can be explicitly restored and potentially
460460
// have restic restores run before controllers adopt the pods.
461-
// - Custom Resource Definitions come before Custom Resource so that they can be
462-
// restored with their corresponding CRD.
463461
var defaultRestorePriorities = []string{
464462
"namespaces",
465463
"persistentvolumes",
@@ -470,7 +468,6 @@ var defaultRestorePriorities = []string{
470468
"limitranges",
471469
"pods",
472470
"replicaset",
473-
"customresourcedefinitions",
474471
}
475472

476473
func (s *server) initRestic() error {

0 commit comments

Comments
 (0)