core: fix error message
Let's have a more accurate and correct error message that reflects what
the failing function tried to do.
Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit 4f1a2d47a4)
This commit is contained in:
1 parent
60fb7f0ae9
commit
0e28e48c8d
1 file changed
+1
-1
@@ -104,7 +104,7 @@ func CreateOrLoadClusterInfo(clusterdContext *clusterd.Context, context context.
|
||||
|
||||
clusterInfo, err = createNamedClusterInfo(clusterdContext, namespace)
|
||||
if err != nil {
|
||||
return nil, maxMonID, monMapping, errors.Wrap(err, "failed to create mon secrets")
|
||||
return nil, maxMonID, monMapping, errors.Wrap(err, "failed to create initial cluster info")
|
||||
}
|
||||
clusterInfo.Context = context
|
||||
|
||||
|
||||
Reference in new issue
Block a user