File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
main/java/compute/reservation
test/java/compute/reservation Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ public static void main(String[] args)
4040 // TODO(developer): Replace these variables before running the sample.
4141 // Project ID or project number of the Cloud project you want to use.
4242 String projectId = "YOUR_PROJECT_ID" ;
43- // Name of the zone in which you want to create the reservation.
4443 String zone = "us-central1-a" ;
4544 // Name of the VM instance you want to query.
4645 String instanceName = "YOUR_INSTANCE_NAME" ;
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ public void testCreateTemplateNotConsumeReservation() {
111111 InstanceTemplate template = instanceTemplatesClient .get (
112112 PROJECT_ID , TEMPLATE_NOT_CONSUME_RESERVATION_NAME );
113113
114- // Verify that the instance was created with the correct reservation and consumeReservationType
114+ // Verify that the instance template was created with the correct consumeReservationType
115115 Assertions .assertEquals (NO_RESERVATION .toString (),
116116 template .getPropertiesOrBuilder ().getReservationAffinity ().getConsumeReservationType ());
117117 }
You can’t perform that action at this time.
0 commit comments