Skip to content

Commit

Permalink
core: print error even if skipped
Browse files Browse the repository at this point in the history
Previously, the underlying error was ignored, now we print it.

Signed-off-by: Sébastien Han <seb@redhat.com>
  • Loading branch information
leseb committed Dec 8, 2021
1 parent 3d69e10 commit 634be7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/operator/ceph/cluster/cluster.go
Expand Up @@ -168,7 +168,7 @@ func (c *ClusterController) initializeCluster(cluster *cluster) error {

clusterInfo, _, _, err := mon.LoadClusterInfo(c.context, c.OpManagerCtx, cluster.Namespace)
if err != nil {
logger.Infof("clusterInfo not yet found, must be a new cluster")
logger.Infof("clusterInfo not yet found, must be a new cluster. %v", err)
} else {
clusterInfo.OwnerInfo = cluster.ownerInfo
clusterInfo.SetName(c.namespacedName.Name)
Expand Down

0 comments on commit 634be7d

Please sign in to comment.