diff options
| author | chrislu <chris.lu@gmail.com> | 2024-03-07 10:42:29 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2024-03-07 10:42:29 -0800 |
| commit | 8f79bb398780a5b0e746c2be4160e74dcc65b287 (patch) | |
| tree | 34f45830dda7740d125f5f0c33763a1cc019e0af /weed/command/filer_backup.go | |
| parent | fe03b1b5228d421f2b9e6903a728aa76866166f1 (diff) | |
| parent | b544a69550d6793dc61eafccc9b850d43bee5d32 (diff) | |
| download | seaweedfs-8f79bb398780a5b0e746c2be4160e74dcc65b287.tar.xz seaweedfs-8f79bb398780a5b0e746c2be4160e74dcc65b287.zip | |
Merge branch 'master' into mq-subscribe
Diffstat (limited to 'weed/command/filer_backup.go')
| -rw-r--r-- | weed/command/filer_backup.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/weed/command/filer_backup.go b/weed/command/filer_backup.go index 691b1c0b5..4aeab60f2 100644 --- a/weed/command/filer_backup.go +++ b/weed/command/filer_backup.go @@ -85,8 +85,7 @@ const ( func doFilerBackup(grpcDialOption grpc.DialOption, backupOption *FilerBackupOptions, clientId int32, clientEpoch int32) error { // find data sink - config := util.GetViper() - dataSink := findSink(config) + dataSink := findSink(util.GetViper()) if dataSink == nil { return fmt.Errorf("no data sink configured in replication.toml") } |
