Merge pull request #651 from dmcgowan/enforce-go-fmt

Call go fmt in travis
This commit is contained in:
Michael Crosby 2017-03-22 13:48:08 -07:00 committed by GitHub
commit 51f1a66c0b
2 changed files with 10 additions and 9 deletions

View File

@ -21,6 +21,7 @@ install:
- export PATH=$PATH:/tmp/protobuf/bin/
script:
- make fmt
- make binaries
- make coverage
- sudo PATH=$PATH GOPATH=$GOPATH make root-coverage

View File

@ -12,16 +12,16 @@ import "gogoproto/gogo.proto";
// The Mount type follows the structure of the mount syscall, including a type,
// source, target and options.
message Mount {
// Type defines the nature of the mount.
string type = 1;
// Type defines the nature of the mount.
string type = 1;
// Source specifies the name of the mount. Depending on mount type, this
// may be a volume name or a host path, or even ignored.
string source = 2;
// Source specifies the name of the mount. Depending on mount type, this
// may be a volume name or a host path, or even ignored.
string source = 2;
// Target path in container
string target = 3;
// Target path in container
string target = 3;
// Options specifies zero or more fstab style mount options.
repeated string options = 4;
// Options specifies zero or more fstab style mount options.
repeated string options = 4;
}