Skip to content

Commit 8ff23fa

Browse files
openUmbrellalisong
authored andcommitted
fix bug (#208)
1 parent 74d0c45 commit 8ff23fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/services/client-manager.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ proto.reportStatusDeploy = function (deploymentKey, label, clientUniqueId, other
278278
if (_.isEmpty(metrics)) {
279279
return;
280280
}
281-
if (constConfig.DEPLOYMENT_SUCCEEDED) {
281+
if (_.eq(status, constConfig.DEPLOYMENT_SUCCEEDED)) {
282282
return metrics.increment(['installed', 'active'],{by: 1});
283283
} else {
284284
return metrics.increment(['installed', 'failed'],{by: 1});

0 commit comments

Comments
 (0)