Use url.Separator everywhere that is needed
This commit is contained in:
+3
-1
@@ -25,6 +25,7 @@ import (
|
||||
"sync"
|
||||
|
||||
"github.com/minio/cli"
|
||||
"github.com/minio/mc/pkg/client"
|
||||
"github.com/minio/mc/pkg/console"
|
||||
"github.com/minio/mc/pkg/countlock"
|
||||
"github.com/minio/mc/pkg/yielder"
|
||||
@@ -72,7 +73,8 @@ EXAMPLES:
|
||||
func doSync(sURLs syncURLs, bar *barSend, syncQueue chan bool, errCh chan error, wg *sync.WaitGroup) {
|
||||
defer wg.Done()
|
||||
if !globalQuietFlag {
|
||||
bar.SetPrefix(sURLs.SourceContent.Name + ": ")
|
||||
sourceContentParse, _ := client.Parse(sURLs.SourceContent.Name)
|
||||
bar.SetCaption(caption{message: sURLs.SourceContent.Name + ": ", separator: sourceContentParse.Separator})
|
||||
}
|
||||
reader, length, err := getSource(sURLs.SourceContent.Name)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user