Skip to content

Commit

Permalink
Update internal/client/v1/client/discoverer/discover.go
Browse files Browse the repository at this point in the history
Signed-off-by: Yusuke Kato <kpango@vdaas.org>
  • Loading branch information
kpango authored Nov 7, 2024
1 parent 1a40dc2 commit 3f18b2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/client/v1/client/discoverer/discover.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ func (c *client) discoverAddrs(
}
}
nbody, err := nodes.MarshalJSON()
if err != nil {
if err == nil && nbody != nil {
log.Debug(string(nbody))
}
addrs = make([]string, 0, podLength)
Expand Down

0 comments on commit 3f18b2b

Please sign in to comment.