Skip to content

Commit

Permalink
fix(server): fix instance task error (#988)
Browse files Browse the repository at this point in the history
  • Loading branch information
maslow authored Mar 30, 2023
1 parent d36eab9 commit 63cc523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/instance/instance-task.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export class InstanceTaskService {
const instance = await this.instanceService.get(app)
const available = isConditionTrue(
'Available',
instance.deployment.status?.conditions,
instance.deployment?.status?.conditions || [],
)
if (!available) {
await this.relock(appid, waitingTime)
Expand Down

0 comments on commit 63cc523

Please sign in to comment.