Skip to content

Commit 3475b5f

Browse files
fix: set list-hosts end time to utc (#1252)
Signed-off-by: Darren Murray <[email protected]>
1 parent 56dd7a0 commit 3475b5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/cmd/vuln_host_list_hosts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ To list the CVEs found in the hosts of your environment run:
4848
4949
lacework vulnerability host list-cves`,
5050
RunE: func(_ *cobra.Command, args []string) error {
51-
now := time.Now()
51+
now := time.Now().UTC()
5252
start := now.AddDate(0, 0, -1)
5353
filter := api.SearchFilter{
5454
TimeFilter: &api.TimeFilter{

0 commit comments

Comments
 (0)