Skip to content

Commit

Permalink
Add success logs back in (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomshutt authored Jan 26, 2024
1 parent 803ed70 commit fd91c08
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions catalyst-uploader.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,10 @@ func run() int {
}

// success, write uploaded file details to stdout
if glog.V(5) {
err = json.NewEncoder(stdout).Encode(map[string]string{"uri": uri})
if err != nil {
glog.Fatal(err)
return 1
}
err = json.NewEncoder(stdout).Encode(map[string]string{"uri": uri})
if err != nil {
glog.Fatal(err)
return 1
}

return 0
Expand Down

0 comments on commit fd91c08

Please sign in to comment.