Replace github.com/joho/godotenv.

Move the needed code into Velero repository.

Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
This commit is contained in:
Xun Jiang
2026-06-10 15:54:17 +08:00
parent e15e0af346
commit 981988d31b
6 changed files with 170 additions and 8 deletions
+1 -1
View File
@@ -191,7 +191,7 @@ func runCrashd(o *option) error {
if o.verbose {
logrus.SetLevel(logrus.DebugLevel)
}
return exec.Execute("velero-debug-collector", bytes.NewReader(scriptBytes), o.asCrashdArgMap())
return exec.Execute("velero-debug-collector", bytes.NewReader(scriptBytes), o.asCrashdArgMap(), false)
}
func kubeconfigAndContext(fs *pflag.FlagSet) (string, string) {