Skip to content

Commit

Permalink
ci(spanner): use enterprise edition in instance autoscaler sample (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
scotthart authored Jan 22, 2025
1 parent 0f5e910 commit 706353d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions google/cloud/spanner/samples/samples.cc
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,8 @@ void CreateInstanceWithAutoscalingConfig(
request.mutable_instance()->set_name(in.FullName());
request.mutable_instance()->set_config(config);
request.mutable_instance()->set_display_name(display_name);
request.mutable_instance()->set_edition(
google::spanner::admin::instance::v1::Instance_Edition_ENTERPRISE);

auto* autoscaling = request.mutable_instance()->mutable_autoscaling_config();
auto* limits = autoscaling->mutable_autoscaling_limits();
Expand Down

0 comments on commit 706353d

Please sign in to comment.