diff --git a/pkg/cmd/print.go b/pkg/cmd/print.go index ceaec8e..5b009c9 100644 --- a/pkg/cmd/print.go +++ b/pkg/cmd/print.go @@ -100,7 +100,7 @@ func printActiveSnap(response []byte) { t.AppendHeader(table.Row{"Field", "Value"}) for field, value := range entity { if field == "activated" { - value = time.Unix(value.(int64)/1000, 0) + value = time.Unix(int64(value.(float64))/1000, 0) } t.AppendRow(table.Row{field, value}) } diff --git a/pkg/version/version.go b/pkg/version/version.go index 0da0699..fd6c10e 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -1,7 +1,7 @@ package version // Version number -var Version string = "0.3.1" +var Version string = "0.3.2" // GitHash of the last commit var GitHash string