Skip to content

Commit ddb7ed9

Browse files
Deleted redundant class
1 parent 547a09b commit ddb7ed9

File tree

6 files changed

+5
-532
lines changed

6 files changed

+5
-532
lines changed

tpu/src/main/java/tpu/CreateQueuedResourceWithNetwork.java

Lines changed: 0 additions & 144 deletions
This file was deleted.

tpu/src/main/java/tpu/CreateQueuedResourceWithStartupScript.java

Lines changed: 0 additions & 131 deletions
This file was deleted.

tpu/src/main/java/tpu/CreateSpotQueuedResource.java

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package tpu;
1818

19+
// [START tpu_queued_resources_create_spot]
1920
import com.google.api.gax.retrying.RetrySettings;
2021
import com.google.cloud.tpu.v2alpha1.CreateQueuedResourceRequest;
2122
import com.google.cloud.tpu.v2alpha1.Node;
@@ -53,14 +54,10 @@ public static void main(String[] args)
5354
projectId, zone, queuedResourceId, nodeName, tpuType, tpuSoftwareVersion);
5455
}
5556

56-
// Creates a Queued Resource
57+
// Creates a Queued Resource with --preemptible flag.
5758
public static QueuedResource createQueuedResource(
58-
String projectId,
59-
String zone,
60-
String queuedResourceId,
61-
String nodeName,
62-
String tpuType,
63-
String tpuSoftwareVersion)
59+
String projectId, String zone, String queuedResourceId,
60+
String nodeName, String tpuType, String tpuSoftwareVersion)
6461
throws IOException, ExecutionException, InterruptedException {
6562
// With these settings the client library handles the Operation's polling mechanism
6663
// and prevent CancellationException error
@@ -126,3 +123,4 @@ public static QueuedResource createQueuedResource(
126123
}
127124
}
128125
}
126+
// [END tpu_queued_resources_create_spot]

tpu/src/main/java/tpu/GetTpuVm.java

Lines changed: 0 additions & 58 deletions
This file was deleted.

0 commit comments

Comments
 (0)