update struct names and struct fiels

it wont be meaningful to call cephfs.NewcephfsDriver()
to get a new driver, it will be better if we call
cephfs.GetNewDriver() which returns the cephfs driver
object.

same goes for rbd also

Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
This commit is contained in:
Madhu Rajanna
2019-01-17 11:48:18 +05:30
parent 15b5b0112e
commit fa78c00535
4 changed files with 29 additions and 29 deletions

View File

@ -56,7 +56,7 @@ func main() {
os.Exit(1)
}
driver := rbd.GetRBDDriver()
driver := rbd.GetDriver()
driver.Run(*driverName, *nodeID, *endpoint, *containerized, cp)
os.Exit(0)