mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Rename some update command arguments and reformat output for JSON
This commit is contained in:
parent
186825eb3e
commit
c7061d4768
2 changed files with 6 additions and 6 deletions
|
|
@ -163,7 +163,7 @@ func GetUpdateStatus(q *UpdateParams) error {
|
|||
return fmt.Errorf("returned status code %d", res.StatusCode)
|
||||
}
|
||||
if len(body) > 0 {
|
||||
fmt.Printf("%d: %v\n", res.StatusCode, string(body))
|
||||
fmt.Printf("%v\n", string(body))
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue