Skip to content

Commit d71456f

Browse files
committed
Update pod-memory-hog-exec.go
1 parent 12cb021 commit d71456f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chaoslib/litmus/pod-memory-hog-exec/lib/pod-memory-hog-exec.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ func killStressMemorySerial(containerName, podName, namespace, memFreeCmd string
305305
return cerrors.Error{ErrorCode: cerrors.ErrorTypeChaosRevert, Target: fmt.Sprintf("{podName: %s, namespace: %s}", podName, namespace), Reason: fmt.Sprintf("failed to revert chaos: %s", out)}
306306
}
307307
common.SetTargets(podName, "reverted", "pod", chaosDetails)
308-
return nil
308+
return err
309309
}
310310

311311
// killStressMemoryParallel function to kill all the stress process running inside target container

0 commit comments

Comments
 (0)