We should always return a nil pointer of clusterInfo if
CreateOrLoadClusterInfo() returns an error.
Closes: https://github.com/rook/rook/issues/9314
Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit fdd243d3de)
We should always return a nil pointer of clusterInfo if
CreateOrLoadClusterInfo() returns an error.
Closes: https://github.com/rook/rook/issues/9314
Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit fdd243d3de)