Skip to content

Commit

Permalink
Update vendored dependencies, fixing the build on Go 1.8.
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobsa committed Dec 19, 2016
2 parents 7a3629f + 999a761 commit 428f853
Show file tree
Hide file tree
Showing 175 changed files with 42,555 additions and 3,262 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Expand Up @@ -2,7 +2,10 @@
# Cf. http://docs.travis-ci.com/user/languages/go/

language: go
go: 1.7

go:
- 1.7.4
- tip

# Use the virtualized Trusty beta Travis is running in order to get support for
# installing fuse.
Expand Down
11 changes: 1 addition & 10 deletions flags.go
Expand Up @@ -37,10 +37,7 @@ VERSION:
{{end}}{{if len .Authors}}
AUTHOR(S):
{{range .Authors}}{{ . }}{{end}}
{{end}}{{if .Commands}}
COMMANDS:
{{range .Commands}}{{join .Names ", "}}{{ "\t" }}{{.Usage}}
{{end}}{{end}}{{if .Flags}}
{{end}}{{if .Flags}}
GLOBAL OPTIONS:
{{range .Flags}}{{.}}
{{end}}{{end}}{{if .Copyright }}
Expand All @@ -61,15 +58,9 @@ func newApp() (app *cli.App) {
Name: "gcsfuse",
Version: getVersion(),
Usage: "Mount a GCS bucket locally",
HideHelp: true,
Writer: os.Stderr,
Flags: []cli.Flag{

cli.BoolFlag{
Name: "help, h",
Usage: "Print this help text and exit successfuly.",
},

cli.BoolFlag{
Name: "foreground",
Usage: "Stay in the foreground after mounting.",
Expand Down
2 changes: 1 addition & 1 deletion internal/fs/local_modifications_test.go
Expand Up @@ -2514,7 +2514,7 @@ func (t *RenameTest) OverExisting_WrongType() {

// Renaming one over the other shouldn't work.
err = os.Rename(filePath, dirPath)
ExpectThat(err, Error(HasSubstr("is a directory")))
ExpectThat(err, Error(MatchesRegexp("file exists|is a directory")))

err = os.Rename(dirPath, filePath)
ExpectThat(err, Error(HasSubstr("not a directory")))
Expand Down
202 changes: 202 additions & 0 deletions vendor/cloud.google.com/go/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 428f853

Please sign in to comment.