Call go fmt in travis
Not all checks are passing yet but we should still enforce the most basic one. Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
parent
26fe49a7bc
commit
7473b2125a
2 changed files with 10 additions and 9 deletions
|
@ -21,6 +21,7 @@ install:
|
||||||
- export PATH=$PATH:/tmp/protobuf/bin/
|
- export PATH=$PATH:/tmp/protobuf/bin/
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
- make fmt
|
||||||
- make binaries
|
- make binaries
|
||||||
- make coverage
|
- make coverage
|
||||||
- sudo PATH=$PATH GOPATH=$GOPATH make root-coverage
|
- sudo PATH=$PATH GOPATH=$GOPATH make root-coverage
|
||||||
|
|
|
@ -12,16 +12,16 @@ import "gogoproto/gogo.proto";
|
||||||
// The Mount type follows the structure of the mount syscall, including a type,
|
// The Mount type follows the structure of the mount syscall, including a type,
|
||||||
// source, target and options.
|
// source, target and options.
|
||||||
message Mount {
|
message Mount {
|
||||||
// Type defines the nature of the mount.
|
// Type defines the nature of the mount.
|
||||||
string type = 1;
|
string type = 1;
|
||||||
|
|
||||||
// Source specifies the name of the mount. Depending on mount type, this
|
// Source specifies the name of the mount. Depending on mount type, this
|
||||||
// may be a volume name or a host path, or even ignored.
|
// may be a volume name or a host path, or even ignored.
|
||||||
string source = 2;
|
string source = 2;
|
||||||
|
|
||||||
// Target path in container
|
// Target path in container
|
||||||
string target = 3;
|
string target = 3;
|
||||||
|
|
||||||
// Options specifies zero or more fstab style mount options.
|
// Options specifies zero or more fstab style mount options.
|
||||||
repeated string options = 4;
|
repeated string options = 4;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue