Skip to content

Commit

Permalink
better named func
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Jul 15, 2022
1 parent 8e22524 commit fb4e3ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ready.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ const (

var ()

// WaitSRLMgmtSrv returns when the node boot sequence reached the stage when it is ready to accept config commands
// returns an error if not ready by the expiry of the timer readyTimeout.
func WaitSRLMgmtSrv(ctx context.Context, d *network.Driver) error {
// WaitSRLMgmtSrvReady returns when the node boot sequence reaches the stage when it is ready to accept config commands
// returns an error if not ready by readyTimeout.
func WaitSRLMgmtSrvReady(ctx context.Context, d *network.Driver) error {
ctx, cancel := context.WithTimeout(ctx, readyTimeout)
defer cancel()

Expand Down

0 comments on commit fb4e3ee

Please sign in to comment.