Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lluunn authored and k8s-ci-robot committed Sep 19, 2018
1 parent 6f37338 commit 51f1f2f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/gcp-click-to-deploy/src/DeployForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -446,12 +446,15 @@ export default class DeployForm extends React.Component<any, DeployFormState> {
this._appendLine(
'deployment failed with error:' + flattenDeploymentOperationError(r.operation!));
clearInterval(monitorInterval);
} else if (r.operation!.status! && r.operation!.status === 'DONE') {
this._appendLine('Deployment is done');
clearInterval(monitorInterval);
} else {
this._appendLine(`Status of ${deploymentName}: ` + r.operation!.status!);
}
})
.catch(err => this._appendLine('deployment failed with error:' + err));
}, 3000);
}, 10000);
}

private _handleChange(event: Event) {
Expand Down

0 comments on commit 51f1f2f

Please sign in to comment.