fix int to float

This commit is contained in:
Ompragash Viswanathan
2025-10-14 17:49:17 +05:30
parent 77bf8220a3
commit 99df93e082
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -394,8 +394,8 @@ func run(c *cli.Context) error {
Job: Job{
Status: c.String("job.status"),
ExitCode: c.Int("job.exitCode"),
Started: c.Int64("job.started"),
Finished: c.Int64("job.finished"),
Started: float64(c.Int64("job.started")),
Finished: float64(c.Int64("job.finished")),
},
Yaml: Yaml{
Signed: c.Bool("yaml.signed"),
+2 -2
View File
@@ -72,8 +72,8 @@ type (
Job struct {
Status string
ExitCode int
Started int64
Finished int64
Started float64
Finished float64
}
Yaml struct {