We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7ac3b5 commit 05fc561Copy full SHA for 05fc561
common/pkg/capi/clustertopology/handlers/mutation/meta.go
@@ -40,8 +40,8 @@ func (mgp metaGeneratePatches) GeneratePatches(
40
if wrappedResp.Message != "" {
41
resp.Message = strings.TrimPrefix(resp.Message+"\n"+wrappedResp.Message, "\n")
42
}
43
- if wrappedResp.Status != runtimehooksv1.ResponseStatusSuccess {
44
- wrappedResp.Status = runtimehooksv1.ResponseStatusSuccess
+ resp.Status = wrappedResp.Status
+ if resp.Status != runtimehooksv1.ResponseStatusSuccess {
45
return
46
47
0 commit comments