Skip to content

Commit

Permalink
Fix a few issues identified by go vet
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
  • Loading branch information
nathanleclaire committed Dec 16, 2014
1 parent 5478aae commit 934f2a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion links_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func TestLinks_ParseURL(t *testing.T) {
}

if p != lT.expected {
t.Error("expected page for '%s' to be '%d', was '%d'",
t.Errorf("expected page for '%s' to be '%d', was '%d'",
lT.url, lT.expected, p)
}
}
Expand Down
4 changes: 2 additions & 2 deletions regions.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ type Region struct {
Slug string `json:"slug,omitempty"`
Name string `json:"name,omitempty"`
Sizes []string `json:"sizes,omitempty"`
Available bool `json:"available,omitempty`
Features []string `json:"features,omitempty`
Available bool `json:"available,omitempty"`
Features []string `json:"features,omitempty"`
}

type regionsRoot struct {
Expand Down

0 comments on commit 934f2a8

Please sign in to comment.