Fix the Ruby client's get and set property methods
@@ -63,7 +63,6 @@ class AppControllerClient
@conn.add_method('remove_role', 'old_role', 'secret')
@conn.add_method('get_property', 'property_regex', 'secret')
@conn.add_method('set_property', 'property_name', 'property_value', 'secret')
- @conn.add_method('get_queues_in_use', 'secret')
@conn.add_method('set_node_read_only', 'read_only', 'secret')
@conn.add_method('primary_db_is_up', 'secret')
@conn.add_method('get_app_upload_status', 'reservation_id', 'secret')
@@ -162,19 +161,13 @@ class AppControllerClient
def get_property(property_regex)
make_call(NO_TIMEOUT, RETRY_ON_FAIL, 'get_property') {
- @conn.get_queues_in_use(property_regex, @secret)
+ @conn.get_property(property_regex, @secret)
}
end
def set_property(property_name, property_value)
make_call(NO_TIMEOUT, RETRY_ON_FAIL, 'set_property') {
- @conn.get_queues_in_use(property_name, property_value, @secret)
- }
- end
-
- def get_queues_in_use
- make_call(NO_TIMEOUT, RETRY_ON_FAIL, 'get_queues_in_use') {
- @conn.get_queues_in_use(@secret)
+ @conn.set_property(property_name, property_value, @secret)
}
end
