Skip to content

Commit

Permalink
Print the response out in human readable form...because i'm a human a…
Browse files Browse the repository at this point in the history
…nd i want to read it
  • Loading branch information
dehort committed Jan 11, 2024
1 parent 69ba166 commit 93b4c6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/api/connectors/inventory/inventory.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func (this *inventoryConnectorImpl) getSystemProfileDetails(

response, err := this.client.ApiHostGetHostSystemProfileByIdWithResponse(ctx, IDs, params)

fmt.Println("system profile response: ", response)
fmt.Println("system profile response: ", string(response))

Check failure on line 160 in internal/api/connectors/inventory/inventory.go

View workflow job for this annotation

GitHub Actions / lint

cannot convert response (variable of type *ApiHostGetHostSystemProfileByIdResponse) to type string (typecheck)

Check failure on line 160 in internal/api/connectors/inventory/inventory.go

View workflow job for this annotation

GitHub Actions / golang

cannot convert response (variable of type *ApiHostGetHostSystemProfileByIdResponse) to type string
fmt.Println("system profile err: ", err)

if err != nil {
Expand Down

0 comments on commit 93b4c6c

Please sign in to comment.