mirror of
https://github.com/wassname/ray.git
synced 2026-08-07 11:27:43 +08:00
Partially Use f string (#10218)
* flynt. trial 1. * Trial 1. * Addressed code review.
This commit is contained in:
@@ -176,5 +176,5 @@ class PrometheusServiceDiscoveryWriter(threading.Thread):
|
||||
"failed."
|
||||
.format(self.writer.get_target_file_name()))
|
||||
logger.warning(traceback.format_exc())
|
||||
logger.warning("Error message: {}".format(e))
|
||||
logger.warning(f"Error message: {e}")
|
||||
time.sleep(self.default_service_discovery_flush_period)
|
||||
|
||||
Reference in New Issue
Block a user