Skip to content

Commit

Permalink
updating example
Browse files Browse the repository at this point in the history
  • Loading branch information
gehrkefc committed Feb 20, 2025
1 parent 1f878d7 commit 374acc6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/proxyclient/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,6 @@ func main() {
logrus.Fatal(err)
}

if err := coreFactory.Start(ctx, 1); err != nil {
logrus.Fatal(err)
}

podClient := coreFactory.Core().V1().Pod()
secretContoller := coreFactory.Core().V1().Secret()

Expand All @@ -183,6 +179,10 @@ func main() {
logrus.Fatal(err)
}

if err := coreFactory.Start(ctx, 1); err != nil {
logrus.Fatal(err)
}

proxyClient.Run(ctx)

logrus.Info("RDP Client Started... Waiting for CTRL+C")
Expand Down

0 comments on commit 374acc6

Please sign in to comment.