Skip to content

Commit

Permalink
Merge pull request #1092 from ioito/hotfix/qx-skip-empty-response
Browse files Browse the repository at this point in the history
fix(huawei): skip empty response
  • Loading branch information
ioito authored Oct 21, 2024
2 parents de087dd + 0d65afb commit d674119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/multicloud/huawei/huawei.go
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ func (self *SHuaweiClient) request(method httputils.THttpMethod, regionId, servi
return nil, err
}
if gotypes.IsNil(resp) {
return nil, fmt.Errorf("empty response return")
return jsonutils.NewDict(), nil
}
return resp, nil
}
Expand Down

0 comments on commit d674119

Please sign in to comment.