feat: use self.client
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-03-30 01:48:26 +01:00
parent a6d83daf4d
commit ef77451bb7
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394

View File

@ -44,7 +44,7 @@ pub mod drone_templater {
let drone_user = std::env::var("DRONE_USER").context("DRONE_USER is missing")?; let drone_user = std::env::var("DRONE_USER").context("DRONE_USER is missing")?;
let drone_token = std::env::var("DRONE_TOKEN").context("DRONE_TOKEN is missing")?; let drone_token = std::env::var("DRONE_TOKEN").context("DRONE_TOKEN is missing")?;
let drone_token_secret = client.set_secret("DRONE_TOKEN", drone_token); let drone_token_secret = self.client.set_secret("DRONE_TOKEN", drone_token);
self.client self.client
.container() .container()