mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-06-24 14:10:49 -04:00
cli: fix typo
This commit is contained in:
parent
a474739ab6
commit
4f37fe38f9
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ func (d *initDoer) Do(ctx context.Context) error {
|
||||||
// connectedOnce is set in handleGRPCStateChanges when a connection was established in one retry attempt.
|
// connectedOnce is set in handleGRPCStateChanges when a connection was established in one retry attempt.
|
||||||
// This should cancel any other retry attempts when the connection is lost since the bootstrapper likely won't accept any new attempts anymore.
|
// This should cancel any other retry attempts when the connection is lost since the bootstrapper likely won't accept any new attempts anymore.
|
||||||
if d.connectedOnce {
|
if d.connectedOnce {
|
||||||
return &nonRetriableError{errors.New("init already connected to the remote server in an previous attempt - resumption is not supported")}
|
return &nonRetriableError{errors.New("init already connected to the remote server in a previous attempt - resumption is not supported")}
|
||||||
}
|
}
|
||||||
|
|
||||||
conn, err := d.dialer.Dial(ctx, d.endpoint)
|
conn, err := d.dialer.Dial(ctx, d.endpoint)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue