From 7473b2125aab3aa3b8c884af4e15109ea3259986 Mon Sep 17 00:00:00 2001 From: Derek McGowan Date: Tue, 21 Mar 2017 23:36:18 -0700 Subject: [PATCH] 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 (github: dmcgowan) --- .travis.yml | 1 + api/types/mount/mount.proto | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 538229d..c8ed215 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/api/types/mount/mount.proto b/api/types/mount/mount.proto index 1b7e780..da96538 100644 --- a/api/types/mount/mount.proto +++ b/api/types/mount/mount.proto @@ -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; }