Fix: use dummy aria2 client when caller initialize failed in master node
This commit is contained in:
parent
34003a36d0
commit
cf2960a092
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ func (r *rpcService) Init() error {
|
|||
caller, err := rpc.New(context.Background(), server.String(), r.parent.Model.Aria2OptionsSerialized.Token, time.Duration(timeout)*time.Second, common.EventNotifier)
|
||||
|
||||
r.Caller = caller
|
||||
r.Initialized = true
|
||||
r.Initialized = err == nil
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue