run gofmt over the new file
This commit is contained in:
parent
4d7d352d7e
commit
dba5bd96cd
|
@ -2,10 +2,10 @@ package docker
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"regexp"
|
||||
"os"
|
||||
"strings"
|
||||
"github.com/pkg/errors"
|
||||
"os"
|
||||
"regexp"
|
||||
"strings"
|
||||
)
|
||||
|
||||
// This code is taken from github.com/docker/volume/mounts/windows_parser.go
|
||||
|
@ -71,7 +71,6 @@ const (
|
|||
rxMode = `(:(?P<mode>(?i)ro|rw))?`
|
||||
)
|
||||
|
||||
|
||||
func errInvalidSpec(spec string) error {
|
||||
return errors.Errorf("invalid volume specification: '%s'", spec)
|
||||
}
|
||||
|
@ -149,4 +148,3 @@ func windowsSplitRawSpec(raw, destRegex string) ([]string, error) {
|
|||
}
|
||||
return split, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue