mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-05 11:51:16 -06:00
replace .Value.String() with .GetString(...)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
committed by
Florian Schade
parent
8564fa4536
commit
032c218789
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user