Skip to content

Commit

Permalink
Use "1" directry
Browse files Browse the repository at this point in the history
  • Loading branch information
chaspy committed Jan 24, 2021
1 parent b97198f commit e0708a1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,9 @@ func run() error {
now := time.Now().In(tz)
nowF := float64(now.Unix())

count := "1"
countf, err := strconv.ParseFloat(count, 64)
countf, err := strconv.ParseFloat("1", 64)
if err != nil {
return fmt.Errorf("failed to parse. count %v, error %w", count, err)
return fmt.Errorf("failed to parse. error %w", err)
}

var labelsTag []string
Expand Down

0 comments on commit e0708a1

Please sign in to comment.