volume: add capability to change disk type when moving a volume

This commit is contained in:
Chris Lu committed 2021-02-09 23:58:08 -08:00
1 parent 2bf5ea87d6
commit 770393a48c
6 files changed
+648 -628

No files matched your search

+1 -1
View File
@@ -52,6 +52,6 @@ func (c *commandVolumeCopy) Do(args []string, commandEnv *CommandEnv, writer io.
return fmt.Errorf("source and target volume servers are the same!")
}
_, err = copyVolume(commandEnv.option.GrpcDialOption, volumeId, sourceVolumeServer, targetVolumeServer)
_, err = copyVolume(commandEnv.option.GrpcDialOption, volumeId, sourceVolumeServer, targetVolumeServer, "")
return
}