Commit 48d8279
committed
mgr/smb: Replace "clusters" with "shares" in error status
In the following error response the list of active shares is incorrectly
displayed with "clusters" field.
{
"resource": {
"resource_type": "ceph.smb.cluster",
"cluster_id": "smbcluster",
"intent": "removed"
},
"clusters": [
"smbshare"
],
"msg": "cluster in use by shares",
"success": false
}
Replace "clusters" with "shares" to avoid confusion.
Signed-off-by: Anoop C S <[email protected]>1 parent 0325fd3 commit 48d8279
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
758 | 758 | | |
759 | 759 | | |
760 | 760 | | |
761 | | - | |
| 761 | + | |
762 | 762 | | |
763 | 763 | | |
764 | 764 | | |
| |||
0 commit comments