Skip to content

Commit

Permalink
Merge branch 'main' into feat/service-switch-to-https
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-howe-1 committed Nov 22, 2024
2 parents 6231ad2 + bf8b702 commit 528489f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/pkg/serviceLib/serviceWrap/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func NewApplianceBladeKey(applId, bladeId string) *ApplianceBladeKey {
}
}

//handleServiceError - common error handler function used after all cfm-service client calls.
// handleServiceError - common error handler function used after all cfm-service client calls.
func handleServiceError(response *http.Response, err error) error {
var status service.StatusMessage

Expand Down
2 changes: 1 addition & 1 deletion cli/pkg/serviceLib/serviceWrap/memory.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ func GetAllMemoryRegionsForHost(client *service.APIClient, hostId string) (*[]*s
memoryId := ReadLastItemFromUri(member.GetUri())
request2 := client.DefaultAPI.HostsGetMemoryById(context.Background(), hostId, memoryId)
memoryRegion, response2, err := request2.Execute()
if response != nil {
if response2 != nil {
defer response2.Body.Close() // Required by http lib implementation.
}
if err != nil {
Expand Down

0 comments on commit 528489f

Please sign in to comment.