Skip to content

Commit

Permalink
fix an issue when default cluster update continue notify other cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
philchia committed Dec 3, 2020
1 parent c9e4181 commit f75ce69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@ func (c *Client) GetAllKeys(namespace string) []string {
}

// sync namespace config

func (c *Client) sync(namespace string) (*ChangeEvent, error) {
releaseKey := c.GetReleaseKey(namespace)
url := configURL(c.conf, namespace, releaseKey)
url := configURL(c.conf, namespace, "")
bts, err := c.requester.request(url)
if err != nil || len(bts) == 0 {
return nil, err
Expand Down

0 comments on commit f75ce69

Please sign in to comment.