mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 03:03:59 +00:00
Merge pull request #121043 from calvin0327/cleanup-return
cli: cleanup the retrun style for cp execute function
This commit is contained in:
commit
d187ea3d03
@ -568,8 +568,5 @@ func (o *CopyOptions) execute(options *exec.ExecOptions) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := options.Run(); err != nil {
|
return options.Run()
|
||||||
return err
|
|
||||||
}
|
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user