Skip to content

Commit 6c4e469

Browse files
authored
Merge pull request #8 from vapor-community/async-client
hot fix.
2 parents a826623 + ae24393 commit 6c4e469

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ let package = Package(
2020
],
2121
dependencies: [
2222
.package(url: "https://github.com/apple/swift-nio.git", from: "2.0.0"),
23-
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.0.0-alpha.1"),
23+
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.0.0"),
2424
.package(url: "https://github.com/vapor/jwt-kit.git", from: "4.0.0-alpha")
2525
],
2626
targets: [

Storage/Sources/StorageClient.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public final class GoogleCloudStorageClient {
3737
guard let projectId = ProcessInfo.processInfo.environment["PROJECT_ID"] ??
3838
(refreshableToken as? OAuthServiceAccount)?.credentials.projectId ??
3939
storageConfig.project ?? configuration.project else {
40+
try? client.syncShutdown()
4041
throw GoogleCloudStorageError.projectIdMissing
4142
}
4243

0 commit comments

Comments
 (0)