Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Ben <[email protected]>
  • Loading branch information
Neon-White committed Mar 27, 2024
1 parent 4382d3f commit 84a7178
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/sdk/object_sdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ class ObjectSDK {
private_key,
access_mode: r.access_mode,
stats: this.stats,
hmac_key: { access_id : r.gcp_hmac_key.access_id.unwrap(),
secret_key : r.gcp_hmac_key.secret_key.unwrap() }
hmac_key: { access_id: r.gcp_hmac_key.access_id.unwrap(),
secret_key: r.gcp_hmac_key.secret_key.unwrap() }
});
}
if (r.fs_root_path || r.fs_root_path === '') {
Expand Down
2 changes: 1 addition & 1 deletion src/server/system_services/account_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ async function add_external_connection(req) {

// If the connection is for Google, generate an HMAC key for S3-compatible actions (e.g. multipart uploads)
if (info.endpoint_type === 'GOOGLE') {
dbg.log0('add_external_connection: creating HMAC key for Google connection')
dbg.log0('add_external_connection: creating HMAC key for Google connection');
const key_file = JSON.parse(req.rpc_params.secret.unwrap());
const credentials = _.pick(key_file, 'client_email', 'private_key');
const gs_client = new GoogleStorage({ credentials, projectId: key_file.project_id });
Expand Down
2 changes: 1 addition & 1 deletion src/server/system_services/master_key_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ class MasterKeysManager {
encrypted_value: keys.gcp_hmac_key.secret_key,
decipher: crypto.createDecipheriv(m_key.cipher_type, m_key.cipher_key, m_key.cipher_iv)
}, undefined);

}
}
}
Expand Down

0 comments on commit 84a7178

Please sign in to comment.