Skip to content

Commit

Permalink
fixes event patching
Browse files Browse the repository at this point in the history
  • Loading branch information
yue9944882 committed Feb 24, 2021
1 parent 6a4b5fe commit 9de6dc2
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 9de6dc2

Please sign in to comment.