Skip to content

Commit

Permalink
fix linty issues
Browse files Browse the repository at this point in the history
  • Loading branch information
telyn committed May 5, 2017
1 parent d111fbd commit 1ce3615
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/bytemark/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func (c *Context) OutputTable(obj interface{}, fields []string) error {
table.Render()
return nil
}
return fmt.Errorf("%T is not a struct or slice type - please file a bug report!", obj)
return fmt.Errorf("%T is not a struct or slice type - please file a bug report", obj)
}

// OutputFlags creates some cli.Flags for when you wanna use OutputInDesiredForm
Expand Down
2 changes: 1 addition & 1 deletion lib/brain/disc.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func (d Disc) PrettyPrint(wr io.Writer, detail prettyprint.DetailLevel) error {

func (d Disc) String() string {
buf := new(bytes.Buffer)
d.PrettyPrint(buf, prettyprint.SingleLine)
_ = d.PrettyPrint(buf, prettyprint.SingleLine)
return buf.String()
}

Expand Down

0 comments on commit 1ce3615

Please sign in to comment.