Skip to content

Commit fc2bda0

Browse files
committed
fix - list
Signed-off-by: Hélia Barroso <[email protected]>
1 parent a442a53 commit fc2bda0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

internal/etcdmigrate/etcdmigrate.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ func MigrateCRDs(ctx context.Context, clientSets *k8sutil.ClientSets) error {
8484
continue
8585
}
8686

87-
updatedStorageObject.SetAPIVersion(expectedAPIVersion)
88-
8987
_, err = clientSets.DClient.Resource(crdResourceVersion).Namespace(ns).Update(ctx, updatedStorageObject, metav1.UpdateOptions{})
9088
if err != nil {
9189
return fmt.Errorf("failed to update %s %s: %v", ns, name, err)

0 commit comments

Comments
 (0)