mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-08 22:24:54 +00:00
fix: typo
This commit is contained in:
1 parent
e6f013dbc8
commit
51b8c29d63
1 file changed
+1
-1
@@ -120,7 +120,7 @@ func (cli *Client) WaitMachineReady(ctx context.Context, timeout time.Duration)
|
|||||||
return backoff.Retry(inspect, boff)
|
return backoff.Retry(inspect, boff)
|
||||||
}
|
}
|
||||||
|
|
||||||
// WaitClusterReady waits for the connected machine to be ready to server cluster requests.
|
// WaitClusterReady waits for the connected machine to be ready to serve cluster requests.
|
||||||
func (cli *Client) WaitClusterReady(ctx context.Context, timeout time.Duration) error {
|
func (cli *Client) WaitClusterReady(ctx context.Context, timeout time.Duration) error {
|
||||||
// Backoff is not really needed here as the default service config for the gRPC client is already
|
// Backoff is not really needed here as the default service config for the gRPC client is already
|
||||||
// doing retries with backoff for Unavailable errors. However, it's still convenient to use backoff
|
// doing retries with backoff for Unavailable errors. However, it's still convenient to use backoff
|
||||||
|
|||||||
Reference in new issue
Block a user