diff options
| author | Paul Buetow <git@mx.buetow.org> | 2020-12-26 11:44:31 +0000 |
|---|---|---|
| committer | Paul Buetow <git@mx.buetow.org> | 2020-12-26 11:44:31 +0000 |
| commit | 60fa324cd5296b088c24d8db1d334a25ca955788 (patch) | |
| tree | 88c14b39b66f5273cebf96307c86293b178cce40 /internal/clients/baseclient.go | |
| parent | ab676c2b484225ed22765b23d8f0545088ecd610 (diff) | |
initial spartan mode support
Diffstat (limited to 'internal/clients/baseclient.go')
| -rw-r--r-- | internal/clients/baseclient.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/clients/baseclient.go b/internal/clients/baseclient.go index 69055a3..1e40ff2 100644 --- a/internal/clients/baseclient.go +++ b/internal/clients/baseclient.go @@ -70,7 +70,7 @@ func (c *baseClient) Start(ctx context.Context, statsCh <-chan string) (status i // Periodically check for unknown hosts, and ask the user whether to trust them or not. go c.hostKeyCallback.PromptAddHosts(ctx) // Print client stats every time something on statsCh is recieved. - go c.stats.Start(ctx, c.throttleCh, statsCh) + go c.stats.Start(ctx, c.throttleCh, statsCh, c.Args.Spartan) // Keep count of active connections active := make(chan struct{}, len(c.connections)) |
