Skip to content

Commit

Permalink
remove debug code..
Browse files Browse the repository at this point in the history
  • Loading branch information
cmos committed Jun 30, 2023
1 parent 789a35c commit 3f99fc9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions meteoApiClient.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,6 @@ func read(postalCode string, host string, protocol string) (bool, error) {
return false, fmt.Errorf("couldn't open %s connection to %s", protocol, host)
}

conn.Write([]byte("hazard:1"))

log.Info(fmt.Sprintf("Following warnings were reported for postal code: %s", postalCode))
for _, warning := range weather.Warnings {
log.Info(fmt.Sprintf("Warnlevel: %d, Warntype: %d, Outlook: %t: %s", warning.WarnLevel, warning.WarnType, warning.Outlook, warning.Text))
Expand Down

0 comments on commit 3f99fc9

Please sign in to comment.