diff options
author | Tyler Cipriani <tcipriani@wikimedia.org> | 2017-06-29 14:42:32 -0600 |
---|---|---|
committer | Tyler Cipriani <tcipriani@wikimedia.org> | 2017-06-29 14:45:04 -0600 |
commit | 56e09bc388d5ae1791045aabdb3a0eabd497d169 (patch) | |
tree | 858f056867bfcbf7a1e85d5d5c5a1f5b06d98f24 /docker | |
parent | 9f2ef14ba62f26ded606260891a648c294b50d4b (diff) | |
download | blubber-56e09bc388d5ae1791045aabdb3a0eabd497d169.tar.gz |
Run go fmt
Summary:
One of Golang's "advantages" is not quibbling over style. To this end
the `go fmt` command exists. This is the result of me running:
find . -name '*.go' -exec go fmt {} \;
Test Plan: built package, ran tests
Reviewers: dduvall, mmodell, #release-engineering-team
Reviewed By: dduvall, mmodell, #release-engineering-team
Subscribers: hashar
Tags: #release-engineering-team
Differential Revision: https://phabricator.wikimedia.org/D694
Diffstat (limited to 'docker')
-rw-r--r-- | docker/compiler.go | 3 | ||||
-rw-r--r-- | docker/compiler_test.go | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/docker/compiler.go b/docker/compiler.go index 7f030cf..33c31cc 100644 --- a/docker/compiler.go +++ b/docker/compiler.go @@ -3,6 +3,7 @@ package docker import ( "bytes" "strings" + "phabricator.wikimedia.org/source/blubber.git/build" "phabricator.wikimedia.org/source/blubber.git/config" ) @@ -62,7 +63,7 @@ func CompileStage(buffer *bytes.Buffer, stage string, vcfg *config.VariantConfig if vcfg.SharedVolume.True { Writeln(buffer, "VOLUME [\"", vcfg.Runs.In, "\"]") - } else { + } else { Writeln(buffer, "COPY . .") } diff --git a/docker/compiler_test.go b/docker/compiler_test.go index 0b2d907..8981683 100644 --- a/docker/compiler_test.go +++ b/docker/compiler_test.go @@ -3,6 +3,7 @@ package docker_test import ( "bytes" "testing" + "gopkg.in/stretchr/testify.v1/assert" "phabricator.wikimedia.org/source/blubber.git/build" |