mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-24 17:47:46 +01:00
Fix bugs of replicaton
This commit is contained in:
parent
fe10c2e7f5
commit
76c88d8d49
@ -83,7 +83,7 @@ func NewDefaultController(cfg ControllerConfig) *DefaultController {
|
||||
triggerManager: trigger.NewManager(cfg.CacheCapacity),
|
||||
}
|
||||
|
||||
endpoint := config.InternalJobServiceURL()
|
||||
endpoint := "http://jobservice"
|
||||
client := client.NewAuthorizedClient(auth.NewSecretAuthorizer(config.UISecret()))
|
||||
ctl.replicator = replicator.NewDefaultReplicator(endpoint, client)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user