Skip to content

Commit 2110c05

Browse files
authored
Revert "update: check return of create dsci if failed because of existing (#1…" (#1122)
This reverts commit d2f656a.
1 parent d2f656a commit 2110c05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/upgrade/upgrade.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ func CreateDefaultDSCI(ctx context.Context, cli client.Client, _ cluster.Platfor
167167
case len(instances.Items) == 0:
168168
fmt.Println("create default DSCI CR.")
169169
err := cluster.CreateWithRetry(ctx, cli, defaultDsci, 1) // 1 min timeout
170-
if err != nil && !k8serr.IsAlreadyExists(err) {
170+
if err != nil {
171171
return err
172172
}
173173
}

0 commit comments

Comments
 (0)