Skip to content

Commit 185bb2b

Browse files
committed
chore: Fix comment
1 parent e9d0b41 commit 185bb2b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

managedplugin/plugin.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,9 @@ func (c *Client) startDockerPlugin(ctx context.Context, configPath string) error
341341
retry.RetryIf(func(err error) bool {
342342
return err.Error() == "failed to get port mapping for container"
343343
}),
344+
// this should generally succeed on first or second try, because we're only waiting for the container to start
345+
// to get the port mapping, not the plugin to start. The plugin will be waited for when we establish the tcp
346+
// connection.
344347
retry.Attempts(containerPortMappingRetries),
345348
retry.Delay(containerPortMappingInitialRetryDelay),
346349
retry.DelayType(retry.BackOffDelay),

0 commit comments

Comments
 (0)