Update runner/pool/pool.go
Co-authored-by: Michael Kuhnt <maigl@users.noreply.github.com>
This commit is contained in:
parent
77307998ea
commit
439eeee479
1 changed files with 1 additions and 1 deletions
|
|
@ -1051,7 +1051,7 @@ func (r *basePoolManager) addPendingInstances() {
|
|||
// Set the instance to "creating" before launching the goroutine. This will ensure that addPendingInstances()
|
||||
// won't attempt to create the runner a second time.
|
||||
if err := r.setInstanceStatus(instance.Name, providerCommon.InstanceCreating, nil); err != nil {
|
||||
log.Printf("failed to update runner %s status", instance.Name)
|
||||
log.Printf("failed to update runner %s status: %s", instance.Name, err)
|
||||
// We failed to transition the instance to Creating. This means that garm will retry to create this instance
|
||||
// when the loop runs again and we end up with multiple instances.
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue