Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion flower/api/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def post(self, workername):
destination=[workername], reply=True)
if response and 'ok' in response[0][workername]:
self.write(dict(message=f"Autoscaling '{workername}' worker "
"(min={min}, max={max})"))
f"(min={min}, max={max})"))
Comment on lines 262 to +263
Copy link

Copilot AI Aug 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The f-string fix is correct, but this creates an inconsistent string concatenation pattern. Consider combining both lines into a single f-string for better readability: f"Autoscaling '{workername}' worker (min={min}, max={max})"

Copilot uses AI. Check for mistakes.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please check this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think Copilot's comment matters here. The changed version keeps the original styling/new line.

else:
logger.error(response)
self.set_status(403)
Expand Down
Loading