lib/process/cloud/providers/mock/mock.rb in lorj_cloud-0.1.11 vs lib/process/cloud/providers/mock/mock.rb in lorj_cloud-0.1.12
- old
+ new
@@ -115,20 +115,20 @@
# [data_l1, data_l2, data_l3] => should retrieve data from structure like
# data[ data_l2[ data_l3 ] ]
attributes = oControlerObject
attributes.rh_get(key)
- rescue => e
- controller_error "Unable to map '%s'.\n%s", key, e.message
+ rescue => e
+ controller_error "Unable to map '%s'.\n%s", key, e.message
end
def set_attr(oControlerObject, key, value)
attributes = oControlerObject
attributes.rh_set(value, key)
- rescue => e
- controller_error "Unable to map '%s' on '%s'.\n%s",
- key, sObjectType, e.message
+ rescue => e
+ controller_error "Unable to map '%s' on '%s'.\n%s",
+ key, sObjectType, e.message
end
def update(sObjectType, oObject, hParams)
PrcLib.debug("Mock: Update object '%s' = '%s' with hdata '%s'",
sObjectType, sUniqId, hParams[:hdata])