Skip to content

Commit

Permalink
remove unnecessary config check for runner name in instance pool adju…
Browse files Browse the repository at this point in the history
…stment
  • Loading branch information
site0801 committed Dec 13, 2024
1 parent 536a165 commit c5a07f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pool-agent/cmd/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func (a *Agent) adjustInstancePool() error {
}

for _, i := range s {
if i.Config[configKeyResourceType] == "" || i.Config[configKeyImageAlias] == "" || i.Config[configKeyRunnerName] == "" {
if i.Config[configKeyResourceType] == "" || i.Config[configKeyImageAlias] == "" {
continue
}
l := slog.With("instance", i.Name)
Expand Down

0 comments on commit c5a07f8

Please sign in to comment.