Skip to content

Commit

Permalink
Fix: #337
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin Perez committed Apr 15, 2016
1 parent 816b3cb commit e8b714e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -1392,6 +1392,9 @@ func (s *ScalewayAPI) GetImages() (*[]MarketImage, error) {
return nil, err
}
body, err := s.handleHTTPError([]int{200}, resp)
if err != nil {
return nil, err
}
var OrgaImages ScalewayImages

if err = json.Unmarshal(body, &OrgaImages); err != nil {
Expand Down

0 comments on commit e8b714e

Please sign in to comment.