Skip to content

Commit

Permalink
fix change event
Browse files Browse the repository at this point in the history
  • Loading branch information
zouyx committed Jul 9, 2020
1 parent 4c0cd55 commit 5088150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func UpdateApolloConfigCache(configurations map[string]interface{}, expireTime i
} else {
//update
oldValue, _ := config.cache.Get(key)
if reflect.DeepEqual(oldValue, value) {
if !reflect.DeepEqual(oldValue, value) {
changes[key] = createModifyConfigChange(oldValue, value)
}
}
Expand Down

0 comments on commit 5088150

Please sign in to comment.