ceph-csi/internal/cephfs
Rakshith R 3f435f5eb2 util: modify GetMonsAndClusterID() to take clusterID instead of options
This commit:
- modifies GetMonsAndClusterID() to take clusterID instead of options.
- moves out validation of clusterID is set or not out of GetMonsAndClusterID().
- defines ErrClusterIDNotSet new error for reusability.
- add GetClusterID() to obtain clusterID from options.

Signed-off-by: Rakshith R <rar@redhat.com>
(cherry picked from commit 82d09d81cf)
2021-09-14 12:56:12 +00:00
..
cephfs_util.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
clone_test.go cleanup: modifies the error caused due to merged PRs 2021-07-22 18:15:48 +00:00
clone.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
controllerserver.go cleanup: resolves cyclop linter issue 2021-07-22 18:15:48 +00:00
driver.go util: call WriteCephConfig() in cephcsi.go 2021-09-09 13:32:12 +00:00
errors.go cleanup: resolve godot linter 2021-07-13 06:50:03 +00:00
fsjournal.go cleanup: resolves cyclop linter issue 2021-07-22 18:15:48 +00:00
identityserver.go internal: reformat long lines in internal/cephfs package to 120 chars 2021-06-28 14:43:49 +00:00
nodeserver.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
snapshot.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
util.go util: modify GetMonsAndClusterID() to take clusterID instead of options 2021-09-14 12:56:12 +00:00
volume.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
volumemounter.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00
volumeoptions.go cephfs: support selinux mount options 2021-08-05 08:37:52 +00:00