fix todo comment
This commit is contained in:
parent
3ba2b0e365
commit
27e81f37f3
@ -340,7 +340,7 @@ func ConfigCommon(cfg *config.Common) Option {
|
|||||||
ip := cfg.API.RemoteListenAddress
|
ip := cfg.API.RemoteListenAddress
|
||||||
|
|
||||||
var urls sectorstorage.URLs
|
var urls sectorstorage.URLs
|
||||||
urls = append(urls, "http://"+ip+"/remote") // TODO: This makes assumptions, and probably bad ones too
|
urls = append(urls, "http://"+ip+"/remote") // TODO: This makes no assumptions, and probably could...
|
||||||
return urls, nil
|
return urls, nil
|
||||||
}),
|
}),
|
||||||
ApplyIf(func(s *Settings) bool { return s.Online },
|
ApplyIf(func(s *Settings) bool { return s.Online },
|
||||||
|
Loading…
Reference in New Issue
Block a user