Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: NikitaSkrynnik <[email protected]>
  • Loading branch information
NikitaSkrynnik committed Aug 6, 2024
1 parent 4245153 commit ca7b19a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/networkservice/common/begin/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ package begin

import (
"context"
"fmt"
"time"

"github.com/edwarnicke/genericsync"
Expand Down Expand Up @@ -120,8 +119,7 @@ func (b *beginServer) Request(ctx context.Context, request *networkservice.Netwo
eventFactoryServer.updateContext(ctx)
}):
case <-ctx.Done():
fmt.Println("test")
return nil, errors.New("deadline exceeded")
return nil, ctx.Err()
}

return conn, err
Expand Down

0 comments on commit ca7b19a

Please sign in to comment.