missed a 0
This commit is contained in:
parent
0010b6c1fc
commit
b53172a0b1
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ func NewTableWriter(output io.Writer)*TableWriter {
|
||||||
func (c *TableWriter) Print(deals hetzner.Deals) {
|
func (c *TableWriter) Print(deals hetzner.Deals) {
|
||||||
fmt.Fprintf(c.tabWriter,"Got %d offers. Filtered offers: %d\n", deals.ResultStats.OriginalCount, deals.ResultStats.FilteredCount)
|
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())
|
fmt.Fprintf(c.tabWriter, "%s\n", deals.Servers[0].Header())
|
||||||
for _, server := range deals.Servers {
|
for _, server := range deals.Servers {
|
||||||
fmt.Fprintf(c.tabWriter, "%s\n", server.ToString())
|
fmt.Fprintf(c.tabWriter, "%s\n", server.ToString())
|
||||||
|
|
Reference in a new issue