Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
go fmt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AmeanAsad committed Jul 5, 2023
1 parent c20f01c commit 7c552c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tieredhashing/tiered_hashing.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ func (t *TieredHashing) GetPerf() map[string]*NodePerf {
func (t *TieredHashing) GetSentinelCid(ip string) (string, error) {
if node, ok := t.nodes[ip]; ok {
if len(node.SentinelCid) > 0 {
return node.SentinelCid, nil
return node.SentinelCid, nil
} else {
return "", fmt.Errorf("sentinel cid doesn't exist for node: %s ", ip)
}
Expand Down

0 comments on commit 7c552c0

Please sign in to comment.