Add ability to set public cluster address (#761)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2020-10-30 16:54:53 -04:00
1 parent 038540f9ad
commit e2e4631929
14 files changed
+84 -16

No files matched your search

@@ -47,8 +47,6 @@ type Controller struct {
TargetRepoFn common.TargetRepoFactory
kms *kms.Kms
clusterAddress string
}
func New(conf *Config) (*Controller, error) {
@@ -162,7 +160,6 @@ func (c *Controller) Shutdown(serversOnly bool) error {
if err := c.stopListeners(serversOnly); err != nil {
return fmt.Errorf("error stopping controller listeners: %w", err)
}
c.clusterAddress = ""
c.started.Store(false)
return nil
}