~gophers/goose/unstable-001

Viewing all changes in revision 33.

  • Committer: Ian Booth
  • Date: 2012-12-02 13:38:44 UTC
  • mfrom: (30.1.3 fix-test-error-checking)
  • Revision ID: ian.booth@canonical.com-20121202133844-n1b4txkmrdyb0c3h
Fix some error handling changes

Some changes to error handling were introduced to try and properly handle the case where failed JSON resulted in an err being returned as expected. But the data structures were left possible partially populated.
The previous branch returned nil for this situation but non pointers cannot be set to nil. 
This branch use pointers for return data types of nova and glance apis so that nil can be returned if there is an error.

R=
CC=
https://codereview.appspot.com/6869044

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: