diff options
author | Sebastiaan van Stijn <github@gone.nl> | 2018-05-19 13:38:54 +0200 |
---|---|---|
committer | Sebastiaan van Stijn <github@gone.nl> | 2018-05-23 17:50:54 +0200 |
commit | f23c00d8701e4bd0f2372a586dacbf66a26f9a51 (patch) | |
tree | 61c5392380b5e0b16b6c076d7b4c8e1961437d11 /volume | |
parent | 0846a02d549d3e0a28e7f7962b92af98992eba17 (diff) | |
download | docker-f23c00d8701e4bd0f2372a586dacbf66a26f9a51.tar.gz |
Various code-cleanup
remove unnescessary import aliases, brackets, and so on.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Diffstat (limited to 'volume')
-rw-r--r-- | volume/local/local.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/volume/local/local.go b/volume/local/local.go index b1eb2881b4..d97347423a 100644 --- a/volume/local/local.go +++ b/volume/local/local.go @@ -370,7 +370,7 @@ func getAddress(opts string) string { optsList := strings.Split(opts, ",") for i := 0; i < len(optsList); i++ { if strings.HasPrefix(optsList[i], "addr=") { - addr := (strings.SplitN(optsList[i], "=", 2)[1]) + addr := strings.SplitN(optsList[i], "=", 2)[1] return addr } } |