Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add versioned dockerfiles #21

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
fix tests
canthefason committed Feb 22, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit a658f0cee1698dd3a163383158b743b031ced169
4 changes: 2 additions & 2 deletions common_test.go
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ func TestParamsGet(t *testing.T) {

run := params.Get("run")
if run != "statler" {
t.Error("Expected statler but got %s in params.Get()", run)
t.Errorf("Expected statler but got %s in params.Get()", run)
t.FailNow()
}
}
@@ -20,7 +20,7 @@ func TestParamsClone(t *testing.T) {
params.cloneRunFlag()
watch := params.Get("watch")
if watch != "statler" {
t.Error("Expected statler but got %s when watch param is not set", watch)
t.Errorf("Expected statler but got %s when watch param is not set", watch)
}

params.Watcher["watch"] = "waldorf"
2 changes: 1 addition & 1 deletion watch.go
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ func MustRegisterWatcher(params *Params) *Watcher {
if watchVendorStr != "" {
watchVendor, err = strconv.ParseBool(watchVendorStr)
if err != nil {
log.Println("Wrong watch-vendor value: %s (default=false)", watchVendorStr)
log.Printf("Wrong watch-vendor value: %s (default=false)\n", watchVendorStr)
}
}