We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c73d221 commit 8179258Copy full SHA for 8179258
pkg/renamepvc/renamepvc.go
@@ -189,7 +189,7 @@ func (o *renamePVCOptions) rename(
189
newPvc.Name = o.newName
190
newPvc.UID = ""
191
newPvc.CreationTimestamp = metav1.Now()
192
- newPvc.SelfLink = ""
+ newPvc.SelfLink = "" // nolint: staticcheck // to keep compatibility with older versions
193
newPvc.ResourceVersion = ""
194
newPvc.Namespace = o.targetNamespace
195
0 commit comments