Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
arttor committed Jan 31, 2024
2 parents 29dae86 + 712139f commit 0943440
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/proxy/router/router.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright © 2023 Clyso GmbH
* Copyright © 2024 Clyso GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -137,7 +137,7 @@ func (r *router) Route(req *http.Request) (resp *http.Response, taskList []tasks
//todo: proxy unknown requests anyway???
err = dom.ErrNotImplemented
}
if task != nil {
if err == nil && task != nil {
task.SetFrom(storage)
if taskList == nil {
taskList = []tasks.SyncTask{task}
Expand Down

0 comments on commit 0943440

Please sign in to comment.