missed a 0

This commit is contained in:
Philipp 2021-09-02 16:59:34 +02:00
parent 0010b6c1fc
commit b53172a0b1
Signed by untrusted user who does not match committer: Forgejo
GPG key ID: 5A09F9506519E10A

View file

@ -20,7 +20,7 @@ func NewTableWriter(output io.Writer)*TableWriter {
func (c *TableWriter) Print(deals hetzner.Deals) {
fmt.Fprintf(c.tabWriter,"Got %d offers. Filtered offers: %d\n", deals.ResultStats.OriginalCount, deals.ResultStats.FilteredCount)
if deals.ResultStats.FilteredCount != {
if deals.ResultStats.FilteredCount != 0 {
fmt.Fprintf(c.tabWriter, "%s\n", deals.Servers[0].Header())
for _, server := range deals.Servers {
fmt.Fprintf(c.tabWriter, "%s\n", server.ToString())