Skip to content

Commit fe3f0c1

Browse files
Fix: Pool deletion code was incorrect (#296)
1 parent 21c6227 commit fe3f0c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Java/PoolAndResourceFile/src/main/java/PoolAndResourceFile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ public static void main(String argv[]) throws Exception {
356356

357357
if (shouldDeletePool) {
358358
try {
359-
client.jobOperations().deleteJob(poolId);
359+
client.poolOperations().deletePool(poolId);
360360
} catch (BatchErrorException err) {
361361
printBatchException(err);
362362
}

0 commit comments

Comments
 (0)