Skip to content

Commit

Permalink
Merge pull request #538 from kmesh-bot/cherry-pick-535-to-release-0.4
Browse files Browse the repository at this point in the history
[release-0.4] fix unexpected log
  • Loading branch information
kmesh-bot authored Jul 10, 2024
2 parents 5793638 + 4ce131e commit c4d6531
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/controller/workload/workload_hash.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ func NewHashName() *HashName {
}
// if read failed, initialize with an empty map
if err := hashName.readFromPersistFile(); err != nil {
log.Errorf("error reading persist file: %v", err)
hashName.numToStr = make(map[uint32]string)
} else {
hashName.numToStr = make(map[uint32]string, len(hashName.strToNum))
Expand Down

0 comments on commit c4d6531

Please sign in to comment.