Skip to content

Commit

Permalink
fix: fix mesos datawatch prometheus info, issue TencentBlueKing#145
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperJim committed Aug 19, 2019
1 parent bef6641 commit d892cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bcs-mesos/bcs-mesos-watch/storage/configmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (handler *ConfigMapHandler) Add(data interface{}) error {
err := handler.oper.CreateDCNode(dataNode, data, "PUT")
if err != nil {
blog.V(3).Infof("configmap add node %s, err %+v", dataNode, err)
reportStorageMetrics(dataTypeCfg, actionPut, statusSuccess, started)
reportStorageMetrics(dataTypeCfg, actionPut, statusFailure, started)
return err
}
reportStorageMetrics(dataTypeCfg, actionPut, statusSuccess, started)
Expand Down

0 comments on commit d892cd7

Please sign in to comment.