Skip to content

Commit

Permalink
fix replace
Browse files Browse the repository at this point in the history
  • Loading branch information
aphralG committed Jun 6, 2023
1 parent 722292c commit 3f1205f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ func UpdateAgentConfig(systemId string, updateTags []string, updateFeatures []st
// Remove Features_ prefix from the feature strings.
// This is needed for management servers that are sending features before sdk version v2.23.0
for index, feature := range updateFeatures {
updateFeatures[index] = strings.Replace(feature, "Features_", "", 1)
updateFeatures[index] = strings.Replace(feature, "features_", "", 1)
}
sort.Strings(updateFeatures)
sort.Strings(config.Features)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3f1205f

Please sign in to comment.