Skip to content

Commit

Permalink
samples: updating to latest google-cloud-* dependencies (googleapis#723)
Browse files Browse the repository at this point in the history
  • Loading branch information
jabubake authored and thiagotnunes committed Oct 6, 2020
1 parent bcc25c4 commit 2aabd8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -57,7 +57,7 @@ public static void main(String... args) throws Exception {
}
} finally {
// Closes the client which will free up the resources used
spanner.closeAsync();
spanner.close();
}
}
}
Expand Down
Expand Up @@ -500,7 +500,7 @@ public static void main(String[] args) throws Exception {
// [END init_client]
run(dbClient, dbAdminClient, command, db);
} finally {
spanner.closeAsync().get();
spanner.close();
}
System.out.println("Closed client");
}
Expand Down

0 comments on commit 2aabd8c

Please sign in to comment.