mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 03:33:56 +00:00
cleanup the retrun style for cp execute function
Signed-off-by: calvin <wen.chen@daocloud.io>
This commit is contained in:
parent
0554675d78
commit
6e0ece85c4
@ -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