aboutsummaryrefslogtreecommitdiff
path: root/client/add-entry
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-03 11:42:04 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-03 11:42:04 +0100
commite5be97bd0132fbdce6eb345441b0ebdeadd96c35 (patch)
treeb547e911a3af19906675f9bbf813a3084c9abdaf /client/add-entry
parent2d6e12fd0260f8bf0f466e47767c5e68330e2bf1 (diff)
fixed hard-coded protocol and minor refactoring
Diffstat (limited to 'client/add-entry')
-rw-r--r--client/add-entry/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/add-entry/main.go b/client/add-entry/main.go
index 60fabf8..34f6c44 100644
--- a/client/add-entry/main.go
+++ b/client/add-entry/main.go
@@ -45,7 +45,7 @@ func main() {
if err != nil {
glog.Fatalf("failed encoding valid signed debug info: %v", err)
}
- glog.Infof("add-request succeeded: %s", str)
+ fmt.Println(str)
glog.Flush()
}
@@ -82,5 +82,5 @@ func setup() (*client.Client, error) {
if err != nil {
return nil, err
}
- return client.NewClient(log, &http.Client{}, c, &k), nil
+ return client.NewClient(log, &http.Client{}, true, c, &k), nil
}