Skip to content

Commit df9066c

Browse files
authored
Formatting for CIDR mismatch error (#773)
1 parent 16fc625 commit df9066c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/embedded-cluster/restore.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ func isBackupRestorable(backup *velerov1.Backup, rel *release.ChannelRelease, is
420420

421421
if podCIDR != "" || serviceCIDR != "" {
422422
if podCIDR != net.PodCIDR || serviceCIDR != net.ServiceCIDR {
423-
return false, fmt.Sprintf("has a different network configuration than the current cluster, please run with '--pod-cidr %s --service-cidr %s'", podCIDR, serviceCIDR)
423+
return false, fmt.Sprintf("has a different network configuration than the current cluster. Please rerun with '--pod-cidr %s --service-cidr %s'.", podCIDR, serviceCIDR)
424424
}
425425
}
426426
}

0 commit comments

Comments
 (0)