We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb3a176 commit 220805fCopy full SHA for 220805f
1 file changed
pkg/jsonpatch/jsonpatch.go
@@ -57,7 +57,7 @@ func GenerateJsonPath(index int, remove bool, oldConditions, newConditions *core
57
// If the index is not -1, update the value of the JsonPatch object based on the oldConditions parameter.
58
if index != -1 {
59
if newConditions.Message == "" {
60
- jsonPatch.Value.Message = oldConditions.Reason
+ jsonPatch.Value.Message = oldConditions.Message
61
}
62
63
if newConditions.Reason == "" {
0 commit comments