mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 01:06:27 +00:00
Remove redundant assignment to volumeAttachment
This commit is contained in:
parent
4b4420f53e
commit
5e60c406da
@ -61,7 +61,6 @@ func (volumeAttachmentStrategy) PrepareForCreate(ctx context.Context, obj runtim
|
|||||||
case storageapiv1beta1.SchemeGroupVersion:
|
case storageapiv1beta1.SchemeGroupVersion:
|
||||||
// allow modification of status for v1beta1
|
// allow modification of status for v1beta1
|
||||||
default:
|
default:
|
||||||
volumeAttachment := obj.(*storage.VolumeAttachment)
|
|
||||||
volumeAttachment.Status = storage.VolumeAttachmentStatus{}
|
volumeAttachment.Status = storage.VolumeAttachmentStatus{}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user