Skip to content

Commit 1221e02

Browse files
Fixed comments
1 parent 7c6b6d1 commit 1221e02

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

compute/cloud-client/src/main/java/compute/disks/consistencygroup/AddDiskToConsistencyGroup.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,22 @@ public class AddDiskToConsistencyGroup {
3434
public static void main(String[] args)
3535
throws IOException, ExecutionException, InterruptedException, TimeoutException {
3636
// TODO(developer): Replace these variables before running the sample.
37-
// The project that contains the disk.
37+
// Project ID or project number of the Cloud project that contains the disk.
3838
String project = "YOUR_PROJECT_ID";
39-
// The zone or region of the disk.
39+
// Zone or region of the disk.
4040
String location = "us-central1";
41-
// The name of the disk.
41+
// Name of the disk.
4242
String diskName = "DISK_NAME";
43-
// The name of the consistency group.
43+
// Name of the consistency group.
4444
String consistencyGroupName = "CONSISTENCY_GROUP";
45-
// The region of the consistency group.
45+
// Region of the consistency group.
4646
String consistencyGroupLocation = "us-central1";
4747

4848
addDiskToConsistencyGroup(
4949
project, location, diskName, consistencyGroupName, consistencyGroupLocation);
5050
}
5151

52-
// Adds a disk to a Consistency Group.
52+
// Adds a disk to a consistency group.
5353
public static Operation.Status addDiskToConsistencyGroup(
5454
String project, String location, String diskName,
5555
String consistencyGroupName, String consistencyGroupLocation)

compute/cloud-client/src/main/java/compute/disks/consistencygroup/DeleteDiskConsistencyGroup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static void main(String[] args)
3131
// TODO(developer): Replace these variables before running the sample.
3232
// Project ID or project number of the Cloud project you want to use.
3333
String project = "YOUR_PROJECT_ID";
34-
// Name of the region in which your consistency group is located.
34+
// Region in which your consistency group is located.
3535
String region = "us-central1";
3636
// Name of the consistency group you want to delete.
3737
String consistencyGroupName = "YOUR_CONSISTENCY_GROUP_NAME";

compute/cloud-client/src/main/java/compute/disks/consistencygroup/RemoveDiskFromConsistencyGroup.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,22 @@ public class RemoveDiskFromConsistencyGroup {
3535
public static void main(String[] args)
3636
throws IOException, ExecutionException, InterruptedException, TimeoutException {
3737
// TODO(developer): Replace these variables before running the sample.
38-
// The project that contains the disk.
38+
// Project ID or project number of the Cloud project that contains the disk.
3939
String project = "YOUR_PROJECT_ID";
40-
// The zone or region of the disk.
40+
// Zone or region of the disk.
4141
String location = "us-central1";
42-
// The name of the disk.
42+
// Name of the disk.
4343
String diskName = "DISK_NAME";
44-
// The name of the consistency group.
44+
// Name of the consistency group.
4545
String consistencyGroupName = "CONSISTENCY_GROUP";
46-
// The region of the consistency group.
46+
// Region of the consistency group.
4747
String consistencyGroupLocation = "us-central1";
4848

4949
removeDiskFromConsistencyGroup(
5050
project, location, diskName, consistencyGroupName, consistencyGroupLocation);
5151
}
5252

53-
// Removes a disk from a Consistency Group.
53+
// Removes a disk from a consistency group.
5454
public static Operation.Status removeDiskFromConsistencyGroup(
5555
String project, String location, String diskName,
5656
String consistencyGroupName, String consistencyGroupLocation)

0 commit comments

Comments
 (0)