run gofmt over the new file

This commit is contained in:
Damien Churchill 2019-06-11 17:15:40 +01:00 committed by Damien Churchill
parent 4d7d352d7e
commit dba5bd96cd

View file

@ -1,11 +1,11 @@
package docker
import (
"fmt"
"regexp"
"os"
"strings"
"github.com/pkg/errors"
"fmt"
"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
}