Skip to content

Commit

Permalink
ari/model: Fix DeviceState model resource path
Browse files Browse the repository at this point in the history
The correct path to the device state resource is 'deviceStates', not
'devicestate'. This patch corrects the misspelling so that swagger can find
the right resource.
  • Loading branch information
matt-jordan committed Sep 8, 2014
1 parent 75f8138 commit 15285cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ari/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ class DeviceState(BaseObject):

def __init__(self, client, device_state_json):
super(DeviceState, self).__init__(
client, client.swagger.devicestates, device_state_json,
client, client.swagger.deviceStates, device_state_json,
client.on_device_state_event)


Expand Down

0 comments on commit 15285cc

Please sign in to comment.