Skip to content

Commit

Permalink
Updating event_generator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
f-galland committed Jan 10, 2025
1 parent beee963 commit 064f34d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecs/command/event-generator/event_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def generate_random_command(include_all_fields=False):
},
"action": {
"name": random.choice(["restart", "update","change_group", "apply_policy"]),
"args": [f"/path/to/executable/arg{random.randint(1, 10)}"],
"args": { "arg1": f"/path/to/executable/arg{random.randint(1, 10)}"},
"version": f"v{random.randint(1, 5)}"
},
"timeout": random.randint(10, 100)
Expand Down

0 comments on commit 064f34d

Please sign in to comment.