Fix disk.create().
This commit is contained in:
parent
27b4cf743e
commit
5b8ed496db
@ -5,7 +5,7 @@ import {parseSize} from '../utils'
|
||||
export async function create ({name, size, sr}) {
|
||||
const vdi = await this.getXAPI(sr).createVdi(parseSize(size), {
|
||||
name_label: name,
|
||||
sr
|
||||
sr: sr.id
|
||||
})
|
||||
return vdi.$id
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user