cephfs: fix function doc comment for ReadDefaultConfigFile

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2021-06-28 11:20:35 -04:00 committed by mergify[bot]
parent c009f6d19e
commit 3add450741
1 changed files with 4 additions and 1 deletions

View File

@ -64,7 +64,10 @@ func CreateFromRados(conn *rados.Conn) (*MountInfo, error) {
return mount, nil
}
// ReadDefaultConfigFile loads the ceph configuration from the specified config file.
// ReadDefaultConfigFile loads the ceph configuration from the default config file.
//
// Implements:
// int ceph_conf_read_file(struct ceph_mount_info *cmount, const char *path_list);
func (mount *MountInfo) ReadDefaultConfigFile() error {
ret := C.ceph_conf_read_file(mount.mount, nil)
return getError(ret)