Skip to content

Commit

Permalink
examples/subscribe: log that subscription will stop
Browse files Browse the repository at this point in the history
  • Loading branch information
magiconair committed Oct 7, 2022
1 parent f7987f6 commit 3618f0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/subscribe/subscribe.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ func main() {
d := 60 * time.Second
ctx, cancel := context.WithTimeout(context.Background(), d)
defer cancel()
log.Printf("Subscription will stop after %s for demonstration purposes", d)

endpoints, err := opcua.GetEndpoints(ctx, *endpoint)
if err != nil {
Expand Down

0 comments on commit 3618f0e

Please sign in to comment.