We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 257028d commit 0f82280Copy full SHA for 0f82280
pkg/controller/psrestore/controller_test.go
@@ -386,6 +386,9 @@ func TestRestoreStatusErrStateDesc(t *testing.T) {
386
if tt.cluster.Spec.Backup == nil {
387
tt.cluster.Spec.Backup = &apiv1alpha1.BackupSpec{}
388
}
389
+ if tt.cluster.Spec.Backup.InitContainer == nil {
390
+ tt.cluster.Spec.Backup.InitContainer = &apiv1alpha1.InitContainerSpec{}
391
+ }
392
tt.cluster.Spec.Backup.InitContainer.Image = "operator-image"
393
tt.objects = append(tt.objects, tt.cluster)
394
tt.objects = append(tt.objects,
0 commit comments