1
mirror of https://github.com/rclone/rclone synced 2025-01-02 02:26:24 +01:00

backend/qingstor: lint fix

This commit is contained in:
Lars Lehtonen 2020-02-13 11:47:20 -08:00 committed by Nick Craig-Wood
parent 8b14cd24aa
commit 219bd97e8a

View File

@ -392,7 +392,7 @@ func (f *Fs) Root() string {
// String converts this Fs to a string
func (f *Fs) String() string {
if f.rootBucket == "" {
return fmt.Sprintf("QingStor root")
return "QingStor root"
}
if f.rootDirectory == "" {
return fmt.Sprintf("QingStor bucket %s", f.rootBucket)