From 542fbf394756fef62d3ffe49827644eb14fba03e Mon Sep 17 00:00:00 2001 From: Evan Powell Date: Thu, 30 Jun 2016 14:58:07 -0500 Subject: [PATCH] Add new interface method to the 'none' communicator --- communicator/none/communicator.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/communicator/none/communicator.go b/communicator/none/communicator.go index d903f1c90..267c8c6c6 100644 --- a/communicator/none/communicator.go +++ b/communicator/none/communicator.go @@ -38,3 +38,7 @@ func (c *comm) UploadDir(dst string, src string, excl []string) error { func (c *comm) Download(path string, output io.Writer) error { return errors.New("Download is not implemented when communicator = 'none'") } + +func (c *comm) DownloadDir(dst string, src string, excl []string) error { + return errors.New("DownloadDir is not implemented when communicator = 'none'") +}