gianm commented on code in PR #13175:
URL: https://github.com/apache/druid/pull/13175#discussion_r989437077
##########
extensions-core/kubernetes-extensions/src/main/java/org/apache/druid/k8s/discovery/K8sDiscoveryModule.java:
##########
@@ -63,7 +64,10 @@ public void configure(Binder binder)
try {
// Note: we can probably improve things here about figuring
out how to find the K8S API server,
// HTTP client timeouts etc.
- return Config.defaultClient();
+ final SimpleDateFormat dateFormat = new SimpleDateFormat(
+ "yyyyMMdd'T'HHmmss.SSS'Z'");
+ dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
Review Comment:
It's the kind of thing that should be always UTC, since it's a server thing,
not a user-facing or data-related timestamp.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]