mirror of https://github.com/ceph/go-ceph
cephfs: fix function doc comment for ReadDefaultConfigFile
Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
parent
c009f6d19e
commit
3add450741
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue