summaryrefslogtreecommitdiff
path: root/bitmask
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2018-06-20 12:03:53 +0200
committerRuben Pollan <meskio@sindominio.net>2018-06-20 12:03:53 +0200
commit11094e0f58e1f28f5333a91f3c4129b56ad154e6 (patch)
tree38c1ba165baf577800c37ef2f77a25bcd6a1cf14 /bitmask
parent4b7cbc11f87bacd0bca03e87ce9c108e7de6099f (diff)
[bug] fmt int is %d instead of %i
Diffstat (limited to 'bitmask')
-rw-r--r--bitmask/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitmask/main.go b/bitmask/main.go
index 0270462..e0bf4a0 100644
--- a/bitmask/main.go
+++ b/bitmask/main.go
@@ -91,7 +91,7 @@ func waitForBitmaskd() error {
resp.Body.Close()
return nil
}
- log.Printf("Bitmask is not ready (iteration %i): %v", i, err)
+ log.Printf("Bitmask is not ready (iteration %d): %v", i, err)
time.Sleep(1 * time.Second)
}
return err
@@ -154,7 +154,7 @@ func getToken() (string, error) {
if err == nil {
return string(b), nil
}
- log.Printf("Auth token is not ready (iteration %i): %v", i, err)
+ log.Printf("Auth token is not ready (iteration %d): %v", i, err)
time.Sleep(1 * time.Second)
}
return "", err