replace .Value.String() with .GetString(...)

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2025-12-12 15:06:16 +01:00
committed by Florian Schade
parent 8564fa4536
commit 032c218789
11 changed files with 20 additions and 20 deletions

View File

@@ -39,7 +39,7 @@ func RestartPostprocessing(cfg *config.Config) *cobra.Command {
return err
}
uid, step := cmd.Flag("upload-id").Value.String(), ""
uid, step, _ := cmd.Flags().GetString("upload-id"), ""
if uid == "" {
step = cmd.Flag("step").Value.String()
}