Update src/main.rs

This commit is contained in:
James Andariese 2023-10-31 20:04:43 +00:00
parent 04504d6d9e
commit e8e2dcd198

View File

@ -441,7 +441,7 @@ async fn main_wrapped(rc: &mut ExitCode) -> crate::Result<()> {
debug!("option parsing complete. continuing to job selection.");
if let Err(_) = std::env::var("GIT_DIR") {
bail!("git-remote-k8s was meant to be run from git. run with --help for more info.");
}
let client = ctx.ktx(Some(kube_context.to_owned())).await?;