summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@yahooinc.com>2022-08-29 12:11:41 +0000
committerTor Brede Vekterli <vekterli@yahooinc.com>2022-08-29 12:11:41 +0000
commita19652cae9796fed4ae0ac6926910c80a1ec4395 (patch)
tree1c3a8f6bdc414f91a8fadb112f4fa0d6fcca9cbe /storage
parentacbcc3b21c245446897b439637696155068e1d69 (diff)
Unify to_string for PeerCredentials to match other types
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/frameworkimpl/status/statuswebserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/src/vespa/storage/frameworkimpl/status/statuswebserver.cpp b/storage/src/vespa/storage/frameworkimpl/status/statuswebserver.cpp
index a053ee1a13e..7139ab0eb41 100644
--- a/storage/src/vespa/storage/frameworkimpl/status/statuswebserver.cpp
+++ b/storage/src/vespa/storage/frameworkimpl/status/statuswebserver.cpp
@@ -184,7 +184,7 @@ StatusWebServer::handlePage(const framework::HttpUrlPath& urlpath, vespalib::Por
// TODO should print peer address as well; not currently exposed
LOG(warning, "Peer with %s denied status page access to '%s' due to insufficient "
"credentials (had %s, needed %s)",
- vespalib::net::tls::to_string(auth_ctx.peer_credentials()).c_str(),
+ auth_ctx.peer_credentials().to_string().c_str(),
link.c_str(), auth_ctx.capabilities().to_string().c_str(),
reporter->required_capabilities().to_string().c_str());
request.respond_with_error(403, "Forbidden");