fix: need to pass protocol scheme
This commit is contained in:
parent
f544c30430
commit
8528df5d96
|
@ -150,7 +150,7 @@ 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 := "https://" + s.portal.Config().GetString("core.bus.url")
|
||||||
passwd := s.portal.Config().GetString("core.bus.key")
|
passwd := s.portal.Config().GetString("core.bus.key")
|
||||||
|
|
||||||
s.workerClient = workerClient.New(addr, passwd)
|
s.workerClient = workerClient.New(addr, passwd)
|
||||||
|
|
Loading…
Reference in New Issue