fix: wrong config keys
This commit is contained in:
parent
263f34b89f
commit
8f138a5df7
|
@ -150,8 +150,8 @@ func (s *StorageServiceImpl) BuildUploadBufferTus(basePath string, preUploadCb i
|
||||||
|
|
||||||
func (s *StorageServiceImpl) Init() error {
|
func (s *StorageServiceImpl) Init() error {
|
||||||
|
|
||||||
addr := s.portal.Config().GetString("core.bus.url")
|
addr := s.portal.Config().GetString("core.sia.url")
|
||||||
passwd := s.portal.Config().GetString("core.bus.key")
|
passwd := s.portal.Config().GetString("core.sia.key")
|
||||||
|
|
||||||
s.workerClient = workerClient.New(addr, passwd)
|
s.workerClient = workerClient.New(addr, passwd)
|
||||||
s.busClient = busClient.New(addr, passwd)
|
s.busClient = busClient.New(addr, passwd)
|
||||||
|
|
Loading…
Reference in New Issue