Skip to content

Commit

Permalink
Minor edit
Browse files Browse the repository at this point in the history
  • Loading branch information
Utkarsh Shukla committed Dec 4, 2024
1 parent 6a1eb5f commit 124c00c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/client/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ import (
"google.golang.org/grpc/keepalive"
"google.golang.org/grpc/metadata"
"gopkg.in/yaml.v3"
"gorm.io/gorm/logger"
)

const (
Expand Down Expand Up @@ -124,11 +123,11 @@ func getHeaderContext(ctx context.Context, timeout time.Duration) (context.Conte
}

func waitForRequest(ctx context.Context, c pb.TunnelServiceClient) error {
ctx, logger := loggerFromContext(ctx)
ctx, cancel := getHeaderContext(ctx, 0)
logger.Info("Entered waitForRequest")
logger.Infof("Entered waitForRequest")
logger.Infow("Entered waitForRequest")
ctx, logger := loggerFromContext(ctx)
ctx, cancel := getHeaderContext(ctx, 0)
defer cancel()
stream, err := c.WaitForRequest(ctx, &pb.WaitForRequestArgs{})
if err != nil {
Expand Down

0 comments on commit 124c00c

Please sign in to comment.