Skip to content

Commit 47ea45c

Browse files
Fixed comments
1 parent 82a49bb commit 47ea45c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

compute/cloud-client/src/main/java/compute/reservation/CreateInstanceNotConsumeReservation.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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";

compute/cloud-client/src/test/java/compute/reservation/ConsumeReservationIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)