Skip to content

Commit 411bab1

Browse files
committed
docs(compute-samples): lint fix
1 parent 241b160 commit 411bab1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

compute/cloud-client/src/main/java/compute/CreateInstanceTemplate.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ public static void createInstanceTemplate(String projectId, String templateName)
9696
System.out.println("Instance Template creation failed ! ! " + response);
9797
return;
9898
}
99-
System.out
100-
.printf("Instance Template Operation Status %s: %s \n", templateName, response.getStatus());
99+
System.out.printf("Instance Template Operation Status %s: %s \n", templateName,
100+
response.getStatus());
101101
}
102102
}
103103
}

compute/cloud-client/src/test/java/compute/InstanceTemplatesIT.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ public static void setup() throws IOException, ExecutionException, InterruptedEx
6262
TEMPLATE_NAME = "template-name-" + UUID.randomUUID();
6363
ZONE = "us-central1-a";
6464
MACHINE_NAME = "my-new-test-instance" + UUID.randomUUID();
65-
TEMPLATE_NAME_FROM_INSTANCE = "my-new-test-instance" + UUID.randomUUID();
66-
TEMPLATE_NAME_WITH_SUBNET = "my-new-test-instance" + UUID.randomUUID();
65+
TEMPLATE_NAME_FROM_INSTANCE = "template-from-instance" + UUID.randomUUID();
66+
TEMPLATE_NAME_WITH_SUBNET = "template-subnet-instance" + UUID.randomUUID();
6767

6868
CreateInstanceTemplate.createInstanceTemplate(PROJECT_ID, TEMPLATE_NAME);
6969
CreateInstance.createInstance(PROJECT_ID, ZONE, MACHINE_NAME);

0 commit comments

Comments
 (0)