Add new interface method to the 'none' communicator

This commit is contained in:
Evan Powell 2016-06-30 14:58:07 -05:00
parent 63edbd40ed
commit 542fbf3947
1 changed files with 4 additions and 0 deletions

View File

@ -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'")
}