Skip to content

Commit 09afd66

Browse files
committed
Remove useless comment
seLinuxOptions are copied few lines below during `append()`
1 parent d7daa68 commit 09afd66

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/volume/util/util.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,6 @@ func GetPodVolumeNames(pod *v1.Pod, collectSELinuxOptions bool) (mounts sets.Set
522522
if collectSELinuxOptions {
523523
effectiveContainerSecurity := securitycontext.DetermineEffectiveSecurityContext(pod, container)
524524
if effectiveContainerSecurity != nil {
525-
// No DeepCopy, SELinuxOptions is already a copy of Pod's or container's SELinuxOptions
526525
seLinuxOptions = effectiveContainerSecurity.SELinuxOptions
527526
}
528527
}

0 commit comments

Comments
 (0)