This line obfuscates any errors that occurred in ClusterDataRestore and reports a generic failed to restore PVs and PVCs using profile list.. error.
Internally the failure could be due to k8s resources not being restored and not necessarily PV/PVCs not being restored etc.
This has to be updated to reflect the right error to aid user understanding on what failed. Also, look at the callers and other related functions in the ClusterDataReady path to ensure right errors are returned.
This line obfuscates any errors that occurred in ClusterDataRestore and reports a generic
failed to restore PVs and PVCs using profile list..
error.Internally the failure could be due to k8s resources not being restored and not necessarily PV/PVCs not being restored etc.
This has to be updated to reflect the right error to aid user understanding on what failed. Also, look at the callers and other related functions in the ClusterDataReady path to ensure right errors are returned.