summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-08-27 16:22:55 -0400
committerGitHub <noreply@github.com>2021-08-27 16:22:55 -0400
commita2acd04447a66027dc02a210d2961fcde6868985 (patch)
tree9d6de09e9d29390d61b2fb7ffde9761ff3a26ea5 /pkg
parentb21f8ea206442b93dd6ac95648b185cf03e912b7 (diff)
parenta5adc3d80f7387c75c83f1e0c7ad3333fdc48806 (diff)
downloadpodman-a2acd04447a66027dc02a210d2961fcde6868985.tar.gz
podman-a2acd04447a66027dc02a210d2961fcde6868985.tar.bz2
podman-a2acd04447a66027dc02a210d2961fcde6868985.zip
Merge pull request #11334 from jwhonce/issues/10831
Add support for mount options to API
Diffstat (limited to 'pkg')
-rw-r--r--pkg/specgenutil/volumes.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/specgenutil/volumes.go b/pkg/specgenutil/volumes.go
index e9f70fc9d..0ed08198f 100644
--- a/pkg/specgenutil/volumes.go
+++ b/pkg/specgenutil/volumes.go
@@ -620,9 +620,9 @@ func getTmpfsMounts(tmpfsFlag []string) (map[string]spec.Mount, error) {
mount := spec.Mount{
Destination: filepath.Clean(destPath),
- Type: string(define.TypeTmpfs),
+ Type: define.TypeTmpfs,
Options: options,
- Source: string(define.TypeTmpfs),
+ Source: define.TypeTmpfs,
}
m[destPath] = mount
}