diff --git a/cmd/root.go b/cmd/root.go index cd374624..585d8945 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -83,9 +83,9 @@ func prerun(cmd *cobra.Command, args []string) { BatchSize: 1, }) - username = os.Getenv("USER") + usr := os.Getenv("USER") analyticsClient.Enqueue(analytics.Identify{ - UserId: username, + UserId: usr, Traits: analytics.NewTraits(). Set("aws-okta-version", version), })