-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: make it running without GCP env #1471
base: main
Are you sure you want to change the base?
Conversation
7ce1856
to
e3df73e
Compare
if self.sa_creds_base64.is_none() { | ||
return Err(ServiceAccountError::CredentialsNotProvided); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
redundant since ok_or
on L 72 already handles this
return Ok(self); | ||
} | ||
|
||
println!("sa_creds_base64: {:?}", sa_creds_base64); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this intended ?
Nicolas Burtey seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
#[clap(env = "DEV_ENV_NAME_PREFIX")] | ||
dev_env_name_prefix: Option<String>, | ||
} | ||
|
||
pub async fn run() -> anyhow::Result<()> { | ||
let cli = Cli::parse(); | ||
|
||
let sa_creds_base64 = if cli.sa_creds_base64_raw.is_empty() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That this is optional should be handled in the cli field / clap attribute.
will looks like this
for reports:
for documents: