mirror of
https://github.com/minio/mc.git
synced 2025-11-12 01:02:26 +03:00
Change diff command properly to send messages over channels
This commit is contained in:
@@ -421,7 +421,7 @@ func prepareCopyURLs(sourceURLs []string, targetURL string) <-chan *cpURLs {
|
||||
cpURLsCh <- cpURLs
|
||||
}
|
||||
default:
|
||||
cpURLsCh <- &cpURLs{Error: iodine.New(errors.New("Invalid arguments."), nil)}
|
||||
cpURLsCh <- &cpURLs{Error: iodine.New(errInvalidArgument{}, nil)}
|
||||
}
|
||||
}(sourceURLs, targetURL, cpURLsCh)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user