Skip to content

Commit 6b8f892

Browse files
authored
Log version (#171)
Signed-off-by: Jose Fuentes <[email protected]>
1 parent be6c182 commit 6b8f892

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/agent/run.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ func Run(cmd *cobra.Command, args []string) {
4242
}
4343

4444
func gatherAndPostData(ctx context.Context) {
45+
log.Printf("Preflight agent version: %s (%s)", version.PreflightVersion, version.Commit)
4546
file, err := os.Open(ConfigFilePath)
4647
if err != nil {
4748
log.Fatalf("Failed to load config file for agent from: %s", ConfigFilePath)

0 commit comments

Comments
 (0)