Skip to content

Commit 695de7c

Browse files
committed
https://github.com/veertuinc/anka-cloud-gitlab-executor/issues/28
1 parent 3613189 commit 695de7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/command/prepare.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func executePrepare(ctx context.Context, env gitlab.Environment) error {
7676

7777
instance, err := controller.WaitForInstanceToBeScheduled(ctx, instanceId)
7878
if err != nil {
79-
return fmt.Errorf("failed to wait for instance %q to be scheduled: %w", instanceId, err)
79+
return gitlab.TransientError(fmt.Errorf("failed to wait for instance %q to be scheduled: %w", instanceId, err))
8080
}
8181

8282
log.Colorf("VM %s (%s) is ready for work on node %s (%s)\n", instance.VMInfo.Name, instance.Id, instance.Node.Name, instance.Node.IP)

0 commit comments

Comments
 (0)