aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-03 10:29:37 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-03 10:29:37 +0100
commitb6659c99aac8044b4ae7fbefc0f4398ca556c265 (patch)
treef020d9e5e95a85913674f95fa2907a04e1f3f50f /client
parent1132536be92df9833ccaa72683eaa7e74e10b9e3 (diff)
prettified output
Diffstat (limited to 'client')
-rw-r--r--client/add-entry/main.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/client/add-entry/main.go b/client/add-entry/main.go
index e782b09..52a9d8b 100644
--- a/client/add-entry/main.go
+++ b/client/add-entry/main.go
@@ -44,7 +44,12 @@ func main() {
if err != nil {
glog.Fatalf("add-entry failed: %v", err)
}
- glog.Infof("got valid StItem: %v", sdi)
+
+ str, err := sdi.MarshalB64()
+ if err != nil {
+ glog.Fatalf("failed encoding valid signed debug info: %v", err)
+ }
+ glog.Infof("add-request succeeded: %s", str)
glog.Flush()
}