Skip to content

Commit fb231d4

Browse files
authored
Merge pull request #1093 from ioito/automated-cherry-pick-of-#1092-upstream-release-3.12
Automated cherry pick of #1092: fix(huawei): skip empty response
2 parents eeb35f1 + 671613d commit fb231d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/multicloud/huawei/huawei.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ func (self *SHuaweiClient) request(method httputils.THttpMethod, regionId, url s
300300
return nil, err
301301
}
302302
if gotypes.IsNil(resp) {
303-
return nil, fmt.Errorf("empty response return")
303+
return jsonutils.NewDict(), nil
304304
}
305305
return resp, nil
306306
}

0 commit comments

Comments
 (0)