diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-11-03 10:29:37 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-11-03 10:29:37 +0100 |
commit | b6659c99aac8044b4ae7fbefc0f4398ca556c265 (patch) | |
tree | f020d9e5e95a85913674f95fa2907a04e1f3f50f /client | |
parent | 1132536be92df9833ccaa72683eaa7e74e10b9e3 (diff) |
prettified output
Diffstat (limited to 'client')
-rw-r--r-- | client/add-entry/main.go | 7 |
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() } |