Skip to content

Commit 706353d

Browse files
authored
ci(spanner): use enterprise edition in instance autoscaler sample (#14949)
1 parent 0f5e910 commit 706353d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

google/cloud/spanner/samples/samples.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,8 @@ void CreateInstanceWithAutoscalingConfig(
360360
request.mutable_instance()->set_name(in.FullName());
361361
request.mutable_instance()->set_config(config);
362362
request.mutable_instance()->set_display_name(display_name);
363+
request.mutable_instance()->set_edition(
364+
google::spanner::admin::instance::v1::Instance_Edition_ENTERPRISE);
363365

364366
auto* autoscaling = request.mutable_instance()->mutable_autoscaling_config();
365367
auto* limits = autoscaling->mutable_autoscaling_limits();

0 commit comments

Comments
 (0)