Skip to content

Commit edc6cd2

Browse files
committed
Remove commented dead code
Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent 8cdfdaf commit edc6cd2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/frequenz/client/dispatch/__main__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,6 @@ async def update(
148148
raise click.BadArgumentUsage("At least one field must be given to update.")
149149

150150
try:
151-
# if duration := new_fields.get("duration"):
152-
# new_fields.pop("duration")
153-
# new_fields["duration"] = timedelta(seconds=int(duration))
154151
await ctx.obj["client"].update(dispatch_id=dispatch_id, new_fields=new_fields)
155152
click.echo("Dispatch updated.")
156153
except grpc.RpcError as e:

0 commit comments

Comments
 (0)