Skip to content

Commit 1fabc54

Browse files
fix: correctly marshall image-id from image and not imageId
1 parent e436fe8 commit 1fabc54

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/lib/nodes/create.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ Examples:\n
207207

208208
async function createNodesAction(
209209
names: typeof create.args,
210-
options: ReturnType<typeof create.opts> & { imageId?: string },
210+
options: ReturnType<typeof create.opts> & { image?: string },
211211
) {
212212
try {
213213
const client = await nodesClient();
@@ -321,7 +321,7 @@ async function createNodesAction(
321321
names: names.length > 0 ? names : undefined,
322322
zone: options.zone,
323323
cloud_init_user_data: userData,
324-
image_id: options.imageId,
324+
image_id: options.image,
325325
};
326326

327327
// Handle start time (options.start comes from parseStartDateOrNow parser)

0 commit comments

Comments
 (0)