Skip to content

Commit

Permalink
Log version when starting VNet daemon (#46011)
Browse files Browse the repository at this point in the history
  • Loading branch information
ravicious authored Aug 29, 2024
1 parent f8de4d3 commit f244155
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/vnet/daemon/service_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ import (
"unsafe"

"github.com/gravitational/trace"

"github.com/gravitational/teleport"
)

// Start starts an XPC listener and waits for it to receive a message with VNet config.
Expand All @@ -40,7 +42,7 @@ func Start(ctx context.Context, workFn func(context.Context, Config) error) erro
return trace.Wrap(err)
}

log.InfoContext(ctx, "Starting daemon", "bundle_path", bundlePath)
log.InfoContext(ctx, "Starting daemon", "version", teleport.Version, "bundle_path", bundlePath)

cBundlePath := C.CString(bundlePath)
defer C.free(unsafe.Pointer(cBundlePath))
Expand Down

0 comments on commit f244155

Please sign in to comment.