feat: with pub fn new
Some checks failed
continuous-integration/drone/push Build is failing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2023-12-26 17:22:46 +01:00
parent a78803d35b
commit 8b929c912c
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -36,7 +36,7 @@ pub struct NodeService {
} }
impl NodeService { impl NodeService {
fn new(value: dagger_sdk::Query, service: impl Into<String>) -> Self { pub fn new(value: dagger_sdk::Query, service: impl Into<String>) -> Self {
Self { Self {
client: value, client: value,
service: service.into(), service: service.into(),