diff --git a/internal/util/csiconfig.go b/internal/util/csiconfig.go index 9ccd52ffd..1b45acf10 100644 --- a/internal/util/csiconfig.go +++ b/internal/util/csiconfig.go @@ -60,24 +60,22 @@ type ClusterInfo struct { } // Expected JSON structure in the passed in config file is, -// [ -// { -// "clusterID": "", -// "rbd": { -// "radosNamespace": "" -// }, -// "monitors": -// [ -// "", -// "", -// ... -// ], -// "cephFS": { -// "subvolumeGroup": "" -// } -// }, -// ... -// ]. +// nolint:godot // example json content should not contain unwanted dot. +/* +[{ + "clusterID": "", + "rbd": { + "radosNamespace": "" + }, + "monitors": [ + "", + "" + ], + "cephFS": { + "subvolumeGroup": "" + } +}] +*/ func readClusterInfo(pathToConfig, clusterID string) (*ClusterInfo, error) { var config []ClusterInfo