From 2a4d4798b92460116bd9fc544480e6f2eff23bbe Mon Sep 17 00:00:00 2001 From: Ethan Rodkin Date: Mon, 20 Oct 2025 10:44:28 -0400 Subject: [PATCH] remove location secret connection code --- src/viam/examples/modules/complex/proto/buf.lock | 4 ++-- src/viam/sdk/rpc/dial.cpp | 3 --- src/viam/sdk/rpc/dial.hpp | 2 -- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/viam/examples/modules/complex/proto/buf.lock b/src/viam/examples/modules/complex/proto/buf.lock index 2ca276594..222e9b314 100644 --- a/src/viam/examples/modules/complex/proto/buf.lock +++ b/src/viam/examples/modules/complex/proto/buf.lock @@ -4,5 +4,5 @@ deps: - remote: buf.build owner: googleapis repository: googleapis - commit: 61b203b9a9164be9a834f58c37be6f62 - digest: shake256:e619113001d6e284ee8a92b1561e5d4ea89a47b28bf0410815cb2fa23914df8be9f1a6a98dcf069f5bc2d829a2cfb1ac614863be45cd4f8a5ad8606c5f200224 + commit: 72c8614f3bd0466ea67931ef2c43d608 + digest: shake256:b3ac4d383db09f92ab0ca85d12bff8c49eddf7031bd3a854c260b6ac4ed6a2bb85b52b3393c316d28f8038bf3b8e70cb3d16470e8cc4423007678fb6d89d36d4 diff --git a/src/viam/sdk/rpc/dial.cpp b/src/viam/sdk/rpc/dial.cpp index 13565c9b9..5df9b8470 100644 --- a/src/viam/sdk/rpc/dial.cpp +++ b/src/viam/sdk/rpc/dial.cpp @@ -233,9 +233,6 @@ const boost::optional& Options::dial_options() const { return dial_options_; } -Credentials::Credentials(std::string payload) - : type_("robot-location-secret"), payload_(std::move(payload)) {} - Credentials::Credentials(std::string type, std::string payload) : type_(std::move(type)), payload_(std::move(payload)) {} diff --git a/src/viam/sdk/rpc/dial.hpp b/src/viam/sdk/rpc/dial.hpp index 0855bfc23..a437939d6 100644 --- a/src/viam/sdk/rpc/dial.hpp +++ b/src/viam/sdk/rpc/dial.hpp @@ -58,8 +58,6 @@ class ViamChannel { class Credentials { public: - /// @deprecated use `Credentials(std::string type, std::string payload)` - Credentials(std::string payload); Credentials(std::string type, std::string payload); const std::string& type() const; const std::string& payload() const;