From 91e0e5b02ac0944b0745e88814a0f13625f4740f Mon Sep 17 00:00:00 2001 From: Kaifeng Wang Date: Mon, 9 Sep 2024 11:07:40 +0800 Subject: [PATCH] Fix detailed node history list Node history controller does not implement a /detail URL, Client should pass a query argument. Change-Id: I949cfca6386a13558f93da9b5a3acefaba7454aa --- ironicclient/v1/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ironicclient/v1/node.py b/ironicclient/v1/node.py index e541ecf03..5e2633b40 100644 --- a/ironicclient/v1/node.py +++ b/ironicclient/v1/node.py @@ -1148,7 +1148,7 @@ class NodeManager(base.CreateManager): path = "%s/history" % node_ident if detail: - path = path + '/detail' + path = path + '?detail=%s' % detail return self._list_primitives( self._path(path), 'history',