cleanup the retrun style for cp execute function
Signed-off-by: calvin <wen.chen@daocloud.io>
This commit is contained in:
		| @@ -568,8 +568,5 @@ func (o *CopyOptions) execute(options *exec.ExecOptions) error { | ||||
| 		return err | ||||
| 	} | ||||
|  | ||||
| 	if err := options.Run(); err != nil { | ||||
| 		return err | ||||
| 	} | ||||
| 	return nil | ||||
| 	return options.Run() | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 calvin
					calvin