mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 13:45:06 +00:00
Merge pull request #78659 from tedyu/rm-vol-attach
Remove redundant assignment to volumeAttachment
This commit is contained in:
@@ -61,7 +61,6 @@ func (volumeAttachmentStrategy) PrepareForCreate(ctx context.Context, obj runtim
|
||||
case storageapiv1beta1.SchemeGroupVersion:
|
||||
// allow modification of status for v1beta1
|
||||
default:
|
||||
volumeAttachment := obj.(*storage.VolumeAttachment)
|
||||
volumeAttachment.Status = storage.VolumeAttachmentStatus{}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user