Skip to content

Commit

Permalink
fix bug of unable to get config from config center
Browse files Browse the repository at this point in the history
  • Loading branch information
CJD666 authored and tianxiaoliang committed Apr 2, 2022
1 parent 8b37fba commit 2b7c9e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions source/remote/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ var (

//const
const (
LabelService = "serviceName"
LabelService = "service"
LabelVersion = "version"
LabelEnvironment = "environment"
LabelApp = "appId"
LabelApp = "app"

DefaultInterval = time.Second * 30
)
Expand Down
1 change: 0 additions & 1 deletion source/remote/kie/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ func GenerateLabels(dimension DimensionName, optionsLabels map[string]string) (m
return dimensionLabels, nil
}
dimensionLabels[remote.LabelService] = optionsLabels[remote.LabelService]
dimensionLabels[remote.LabelVersion] = optionsLabels[remote.LabelVersion]
if dimension == DimensionService {
return dimensionLabels, nil
}
Expand Down

0 comments on commit 2b7c9e9

Please sign in to comment.