Skip to content

Commit

Permalink
Remove calls to a method that doesn't exist
Browse files Browse the repository at this point in the history
(I hardcoded GetUrl on the SDK class to debug my changes :)
  • Loading branch information
felipecrv committed Feb 6, 2024
1 parent 0fb549b commit 86c551a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions cpp/src/arrow/filesystem/azurefs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1036,8 +1036,7 @@ class LeaseGuard {
lease_client_->Release();
} catch (const Storage::StorageException& exception) {
return ExceptionToStatus(exception, "Failed to release the ",
lease_client_->GetLeaseId(), " lease on '",
lease_client_->GetUrl(), "'");
lease_client_->GetLeaseId(), " lease");
}
return Status::OK();
}
Expand Down Expand Up @@ -1079,9 +1078,9 @@ class LeaseGuard {
std::min(break_or_expires_at_,
SteadyClock::now() + break_period.ValueOr(std::chrono::seconds{0}));
} catch (const Storage::StorageException& exception) {
return ExceptionToStatus(
exception, "Failed to break the ", lease_client_->GetLeaseId(), " lease on '",
lease_client_->GetUrl(), "' expiring in ", remaining_time_ms().count(), "ms");
return ExceptionToStatus(exception, "Failed to break the ",
lease_client_->GetLeaseId(), " lease expiring in ",
remaining_time_ms().count(), "ms");
}
return Status::OK();
}
Expand Down

0 comments on commit 86c551a

Please sign in to comment.