diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-04-28 10:23:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-28 10:23:58 -0400 |
commit | d0b96a541dc69e98d1923f8b297876f787bdb2db (patch) | |
tree | 77e4100a13bbb2a8f8149cee35c842a91b250c74 /libpod/volume_internal.go | |
parent | 2b8cafc0671fbbd155770f044b8216f050877192 (diff) | |
parent | 91ead15283200feb9db8054a26d322fbfdc3fa59 (diff) | |
download | podman-d0b96a541dc69e98d1923f8b297876f787bdb2db.tar.gz podman-d0b96a541dc69e98d1923f8b297876f787bdb2db.tar.bz2 podman-d0b96a541dc69e98d1923f8b297876f787bdb2db.zip |
Merge pull request #14051 from giuseppe/volume-create-noquota-option
volume: add new option -o o=noquota
Diffstat (limited to 'libpod/volume_internal.go')
-rw-r--r-- | libpod/volume_internal.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libpod/volume_internal.go b/libpod/volume_internal.go index 9850c2ea1..e0ebb729d 100644 --- a/libpod/volume_internal.go +++ b/libpod/volume_internal.go @@ -52,6 +52,9 @@ func (v *Volume) needsMount() bool { if _, ok := v.config.Options["SIZE"]; ok { index++ } + if _, ok := v.config.Options["NOQUOTA"]; ok { + index++ + } // when uid or gid is set there is also the "o" option // set so we have to ignore this one as well if index > 0 { |