chore: rename with_socket to with_ssh_agent
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
9ee64020fe
commit
8248b61545
@ -27,13 +27,13 @@ impl DaggerMiddleware for SshAgent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub trait SshAgentExt {
|
pub trait SshAgentExt {
|
||||||
fn with_socket(&mut self, socket: dagger_sdk::Socket) -> &mut Self {
|
fn with_ssh_agent(&mut self, socket: dagger_sdk::Socket) -> &mut Self {
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SshAgentExt for RustService {
|
impl SshAgentExt for RustService {
|
||||||
fn with_socket(&mut self, socket: dagger_sdk::Socket) -> &mut Self {
|
fn with_ssh_agent(&mut self, socket: dagger_sdk::Socket) -> &mut Self {
|
||||||
self.with_stage(super::RustServiceStage::BeforeDeps(Arc::new(
|
self.with_stage(super::RustServiceStage::BeforeDeps(Arc::new(
|
||||||
SshAgent::new(socket.clone()),
|
SshAgent::new(socket.clone()),
|
||||||
)))
|
)))
|
||||||
@ -44,7 +44,7 @@ impl SshAgentExt for RustService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl SshAgentExt for LeptosService {
|
impl SshAgentExt for LeptosService {
|
||||||
fn with_socket(&mut self, socket: dagger_sdk::Socket) -> &mut Self {
|
fn with_ssh_agent(&mut self, socket: dagger_sdk::Socket) -> &mut Self {
|
||||||
self.with_stage(super::RustServiceStage::BeforeDeps(Arc::new(
|
self.with_stage(super::RustServiceStage::BeforeDeps(Arc::new(
|
||||||
SshAgent::new(socket.clone()),
|
SshAgent::new(socket.clone()),
|
||||||
)))
|
)))
|
||||||
|
Loading…
Reference in New Issue
Block a user