go-ceph/common/admin
John Mulligan daf48e4aa2 nfs admin: fix handling of non-existing psuedo_paths for export info
Fixes: #815

When updates to the NFS mgr API were recently merged on Ceph main branch
the go-ceph test started failing. This occurred because go-ceph was
unintentionally relying on invalid JSON (an empty string) returned from
the API call for an invalid export pseudo path. On ceph main it now
returns an empty JSON object. This change treats both empty string
and empty JSON object as an error explicitly.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2023-01-31 05:14:58 +00:00
..
manager common admin: add tests for manager pkg module apis 2022-02-08 15:55:02 +00:00
nfs nfs admin: fix handling of non-existing psuedo_paths for export info 2023-01-31 05:14:58 +00:00