Skip to content

Commit 4c2081d

Browse files
committed
Remove unneeded null check
Signed-off-by: Ben <[email protected]>
1 parent b192d73 commit 4c2081d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/system_services/pool_server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ async function create_namespace_resource(req) {
278278
}
279279

280280
let gcp_hmac_key;
281-
if (connection?.gcp_hmac_key?.secret_key) {
281+
if (connection.gcp_hmac_key?.secret_key) {
282282
gcp_hmac_key = {
283283
access_id: connection.gcp_hmac_key.access_id,
284284
secret_key: system_store.master_key_manager.encrypt_sensitive_string_with_master_key_id(

0 commit comments

Comments
 (0)