diff --git a/rally/osclients.py b/rally/osclients.py index 9d9820991c..6db28b6028 100644 --- a/rally/osclients.py +++ b/rally/osclients.py @@ -283,7 +283,7 @@ class Clients(object): return client @cached - def ironic(self, version="1.0"): + def ironic(self, version="1"): """Return Ironic client.""" from ironicclient import client as ironic kc = self.keystone() diff --git a/tests/unit/test_osclients.py b/tests/unit/test_osclients.py index fc735d3be3..c5346a3aed 100644 --- a/tests/unit/test_osclients.py +++ b/tests/unit/test_osclients.py @@ -344,7 +344,7 @@ class OSClientsTestCase(test.TestCase): "insecure": self.endpoint.insecure, "cacert": self.endpoint.cacert } - mock_ironic.client.get_client.assert_called_once_with("1.0", **kw) + mock_ironic.client.get_client.assert_called_once_with("1", **kw) self.assertEqual(fake_ironic, self.clients.cache["ironic"]) def test_sahara(self):