mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 11:37:01 -07:00
Added more information to collect output
Signed-off-by: David J. Allen <allend@lanl.gov>
This commit is contained in:
parent
9d3e40ba5a
commit
a0b5cd3cdb
2 changed files with 179 additions and 58 deletions
|
|
@ -52,9 +52,9 @@ func AddRedfishEndpoint(data []byte, headers map[string]string) error {
|
|||
// Add redfish endpoint via POST `/hsm/v2/Inventory/RedfishEndpoints` endpoint
|
||||
url := makeEndpointUrl("/Inventory/RedfishEndpoints")
|
||||
res, body, _ := util.MakeRequest(url, "POST", data, headers)
|
||||
fmt.Println("smd url: ", url)
|
||||
fmt.Println("res: ", res)
|
||||
fmt.Println("body: ", string(body))
|
||||
fmt.Printf("smd url: %v\n", url)
|
||||
fmt.Printf("res: %v %v\n", res.StatusCode, res.Status)
|
||||
fmt.Printf("body: %v\n", string(body))
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue