Skip to content

Commit

Permalink
Merge pull request #1559 from yue9944882/bugfix/unquote-event-count
Browse files Browse the repository at this point in the history
Fixes event patching - unquote event count
  • Loading branch information
k8s-ci-robot committed Feb 25, 2021
2 parents 6a4b5fe + 9de6dc2 commit 631bf1e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -43,7 +43,7 @@ public MutablePair<CoreV1Event, V1Patch> observe(CoreV1Event event, String key)
patch =
new V1Patch(
String.format(
"{\"message\":\"%s\",\"count\":\"%d\",\"lastTimestamp\":%s}",
"{\"message\":\"%s\",\"count\":%d,\"lastTimestamp\":\"%s\"}",
event.getMessage(),
event.getCount(),
Configuration.getDefaultApiClient().getJSON().serialize(now)));
Expand Down

0 comments on commit 631bf1e

Please sign in to comment.