Skip to content

Commit

Permalink
feat(CSI-310): on nodeserver, prune unsupported mount options receive…
Browse files Browse the repository at this point in the history
…d from volumeContext
  • Loading branch information
sergeyberezansky committed Dec 8, 2024
1 parent 1afdbbc commit 11320e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/wekafs/nodeserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ func (ns *NodeServer) NodePublishVolume(ctx context.Context, req *csi.NodePublis
if mountOptions, ok := params["mountOptions"]; ok {
logger.Trace().Str("mount_options", mountOptions).Msg("Updating volume mount options")
volume.setMountOptions(ctx, NewMountOptionsFromString(mountOptions))
volume.pruneUnsupportedMountOptions(ctx)
}
}

Expand Down

0 comments on commit 11320e8

Please sign in to comment.