Skip to content

Commit

Permalink
run gofmt over the new file
Browse files Browse the repository at this point in the history
  • Loading branch information
damoxc committed Jun 18, 2019
1 parent 960f898 commit cb8a5e4
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions drivers/docker/win32_volume_parse.go
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -71,7 +71,6 @@ const (
rxMode = `(:(?P<mode>(?i)ro|rw))?`
)


func errInvalidSpec(spec string) error {
return errors.Errorf("invalid volume specification: '%s'", spec)
}
Expand Down Expand Up @@ -149,4 +148,3 @@ func windowsSplitRawSpec(raw, destRegex string) ([]string, error) {
}
return split, nil
}

0 comments on commit cb8a5e4

Please sign in to comment.