summaryrefslogtreecommitdiff
path: root/volume
diff options
context:
space:
mode:
authorSebastiaan van Stijn <github@gone.nl>2021-01-14 14:54:37 +0100
committerSebastiaan van Stijn <github@gone.nl>2021-01-14 14:54:37 +0100
commit4f366405538505c8d747820ee330f5d65674d4b5 (patch)
treec0e6ee99d355f2330f1dbd7c7ed727c81588b416 /volume
parent41e5d459f1725546b58579fea585afb83ca389bc (diff)
downloaddocker-4f366405538505c8d747820ee330f5d65674d4b5.tar.gz
volumes/local: gofmt
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Diffstat (limited to 'volume')
-rw-r--r--volume/local/local_unix.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/volume/local/local_unix.go b/volume/local/local_unix.go
index c8163ccd13..4a3ee02c7e 100644
--- a/volume/local/local_unix.go
+++ b/volume/local/local_unix.go
@@ -32,9 +32,9 @@ var (
"size": {}, // quota size limit
}
mandatoryOpts = map[string][]string{
- "device": []string{"type"},
- "type": []string{"device"},
- "o": []string{"device", "type"},
+ "device": {"type"},
+ "type": {"device"},
+ "o": {"device", "type"},
}
)