diff --git a/cpp/src/arrow/filesystem/azurefs.cc b/cpp/src/arrow/filesystem/azurefs.cc index 2585bb4fc0c81..ff58d253b0030 100644 --- a/cpp/src/arrow/filesystem/azurefs.cc +++ b/cpp/src/arrow/filesystem/azurefs.cc @@ -132,11 +132,11 @@ Status AzureOptions::ConfigureDefaultCredential(const std::string& account_name) } Status AzureOptions::ConfigureManagedIdentityCredential(const std::string& account_name, - std::string const& clientId) { + const std::string& client_id) { account_name_ = account_name; credential_kind_ = CredentialKind::kTokenCredential; token_credential_ = - std::make_shared(clientId); + std::make_shared(client_id); return Status::OK(); }