summaryrefslogtreecommitdiff
path: root/client/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'client/client.go')
-rw-r--r--client/client.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/client/client.go b/client/client.go
index 393a6ed..9a26485 100644
--- a/client/client.go
+++ b/client/client.go
@@ -57,24 +57,6 @@ type Client struct {
discoMan DiscoManager
}
-func (c *Client) DiscoveryStartup(cb func()) {
- fcb := func() {
- if cb == nil {
- return
- }
-
- c.mu.Lock()
- defer c.mu.Unlock()
-
- if c.FSM.Current != StateMain {
- return
- }
-
- cb()
- }
- c.discoMan.Startup(context.Background(), fcb)
-}
-
// GettingConfig is defined here to satisfy the server.Callbacks interface
// It is called when internally we are getting a config
// We go to the GettingConfig state