Skip to content

Commit

Permalink
chore: log cluster sync error
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Crenshaw <[email protected]>
  • Loading branch information
crenshaw-dev committed Sep 29, 2023
1 parent b0fffe4 commit 4d728d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/cache/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,7 @@ func (c *clusterCache) sync() error {
})

if err != nil {
c.log.Error(err, "Failed to sync cluster")
return fmt.Errorf("failed to sync cluster %s: %v", c.config.Host, err)
}

Expand Down

0 comments on commit 4d728d6

Please sign in to comment.