From 0f0e42c72d2e75e9e6e5c8f7e91f344f6fc5e9a2 Mon Sep 17 00:00:00 2001 From: skuruppu Date: Fri, 12 Jun 2020 16:09:48 +1000 Subject: [PATCH] fix: set displayName in CreateInstance sample Also updated `nodes` to 1 to be consistent with other samples. --- samples/instance.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/instance.js b/samples/instance.js index d1acf5d42..9356898b2 100644 --- a/samples/instance.js +++ b/samples/instance.js @@ -38,8 +38,8 @@ async function createInstance(instanceId, projectId) { console.log(`Creating instance ${instance.formattedName_}.`); const [, operation] = await instance.create({ config: 'regional-us-central1', - nodes: 2, - displayName: instanceId, + nodes: 1, + displayName: 'This is a display name.', labels: { ['cloud_spanner_samples']: 'true', },