Skip to content

Commit

Permalink
Fix SelectRandomAgent
Browse files Browse the repository at this point in the history
- Update Dockerfile-NoPlugins to not create plugins directory.
  • Loading branch information
kshave committed May 31, 2024
1 parent aa5c725 commit 5d7e31d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controller/internal/controller/synthetictest_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ func SelectRandomAgent(validAgents map[string]bool) (string, error) {
if i == index {
return a, nil
}
i++
}
return "", errors.New("error selecting random agent, index out of range")
}
Expand Down

0 comments on commit 5d7e31d

Please sign in to comment.