Skip to content

Commit 5a477f7

Browse files
committed
fix: deploy timeout error message
1 parent 53f9fdd commit 5a477f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/porcelain/deploy.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,11 +330,11 @@ func (n *Netlify) waitForState(ctx context.Context, d *models.Deploy, timeout ti
330330
}
331331

332332
if resp.Payload.State == "error" {
333-
return nil, fmt.Errorf("Error: entered errors state while waiting to enter states: %s", strings.Join(states, ","))
333+
return nil, fmt.Errorf("Error: entered error state while waiting to enter states: %s", strings.Join(states, ", "))
334334
}
335335

336336
if t.Sub(start) > timeout {
337-
return nil, fmt.Errorf("Error: deploy timed out while waiting to enter states: %s", strings.Join(states, ","))
337+
return nil, fmt.Errorf("Error: deploy timed out while waiting to enter states: %s", strings.Join(states, ", "))
338338
}
339339
}
340340

0 commit comments

Comments
 (0)