Skip to content

Commit

Permalink
fix after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuRA committed Oct 9, 2023
1 parent 353394b commit b198497
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions packages/xo-server/src/api/xostor.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import { asyncEach } from '@vates/async-each'
import { createLogger } from '@xen-orchestra/log'
<<<<<<< HEAD
import { operationFailed } from 'xo-common/api-errors.js'
=======
import { defer } from 'golike-defer'
>>>>>>> 705d1f024... feat(xo-server/xostor): associate a XOSTOR with a license at the XOSTOR creation
import { operationFailed } from 'xo-common/api-errors.js'

const ENUM_PROVISIONING = {
Thin: 'thin',
Expand Down Expand Up @@ -111,9 +108,9 @@ formatDisks.resolve = {

export const create = defer(async function (
$defer,
{ description, disksByHosts, force, ignoreFileSystems, name, provisioning, replication }
{ description, disksByHost, force, ignoreFileSystems, name, provisioning, replication }
) {
const hostIds = Object.keys(disksByHosts)
const hostIds = Object.keys(disksByHost)

const tmpBoundObjectId = `tmp_${hostIds.join(',')}_${Math.random().toString(32).slice(2)}`

Expand Down

0 comments on commit b198497

Please sign in to comment.