Merge pull request #1310 from pdebski21/fix_standby_detach_error_msg

Fix error message when CAS already is in standby detach state
This commit is contained in:
Karolina Rogowska
2022-08-19 15:01:24 +02:00
committed by GitHub
3 changed files with 9 additions and 2 deletions

View File

@@ -2296,7 +2296,7 @@ int cache_mngt_standby_detach(struct kcas_standby_detach *cmd)
cache_priv = ocf_cache_get_priv(cache);
if (!cache_priv->cache_exp_obj_initialized) {
result = -KCAS_ERR_DETACHED;
result = -KCAS_ERR_STANDBY_DETACHED;
goto out_cache_put;
}