Update dummy communicator

This commit is contained in:
sophia 2021-11-01 14:10:14 -05:00 committed by Paul Hinze
parent 80457cd869
commit a52b8b7fd3
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -63,7 +63,7 @@ func (h *DummyCommunicator) UploadFunc() interface{} {
func (h *DummyCommunicator) Upload(
machine plugincore.Machine,
source, destination string,
source string, destination string,
) error {
return nil
}
@ -75,7 +75,7 @@ func (h *DummyCommunicator) ExecuteFunc() interface{} {
func (h *DummyCommunicator) Execute(
machine plugincore.Machine,
command []string,
options ...pb.CommunicatorOptions,
options *pb.CommunicatorOptions,
) (status int32, err error) {
return 0, nil
}
@ -87,7 +87,7 @@ func (h *DummyCommunicator) PrivilegedExecuteFunc() interface{} {
func (h *DummyCommunicator) PrivilegedExecute(
machine plugincore.Machine,
command []string,
options ...pb.CommunicatorOptions,
options *pb.CommunicatorOptions,
) (status int32, err error) {
return 0, nil
}