From fd96492f812972cdf7a78bb4501d4be5248cfaef Mon Sep 17 00:00:00 2001 From: Jeremy Lenz Date: Wed, 17 Jan 2024 15:40:27 -0500 Subject: [PATCH] Refs #36846 - change descriptionFormat to snake case (#10846) (cherry picked from commit dfe70e850b364751a30f6ba63c46c3cf03124226) --- .../extensions/HostDetails/Tabs/RemoteExecutionActions.js | 8 ++++---- .../HostDetails/Tabs/__tests__/packagesTab.test.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/webpack/components/extensions/HostDetails/Tabs/RemoteExecutionActions.js b/webpack/components/extensions/HostDetails/Tabs/RemoteExecutionActions.js index 5e00cc0a5ad..b4768d524a0 100644 --- a/webpack/components/extensions/HostDetails/Tabs/RemoteExecutionActions.js +++ b/webpack/components/extensions/HostDetails/Tabs/RemoteExecutionActions.js @@ -15,7 +15,7 @@ const baseParams = ({ job_invocation: { feature, inputs, - descriptionFormat, + description_format: descriptionFormat, search_query: `name ^ (${hostname})`, }, }); @@ -41,7 +41,7 @@ const katelloPackageInstallBySearchParams = ({ hostname, search, descriptionForm hostname, inputs: { [PACKAGE_SEARCH_QUERY]: search }, feature: REX_FEATURES.KATELLO_PACKAGE_INSTALL_BY_SEARCH, - description_format: descriptionFormat, + descriptionFormat, }); const katelloPackageRemoveParams = ({ hostname, packageName }) => @@ -56,7 +56,7 @@ const katelloPackagesRemoveParams = ({ hostname, search, descriptionFormat }) => hostname, inputs: { [PACKAGES_SEARCH_QUERY]: search }, feature: REX_FEATURES.KATELLO_PACKAGES_REMOVE_BY_SEARCH, - description_format: descriptionFormat, + descriptionFormat, }); const katelloPackageUpdateParams = ({ hostname, packageName }) => @@ -73,7 +73,7 @@ const katelloPackagesUpdateParams = ({ feature: REX_FEATURES.KATELLO_PACKAGES_UPDATE_BY_SEARCH, inputs: { [PACKAGES_SEARCH_QUERY]: search, [SELECTED_UPDATE_VERSIONS]: versions }, search_query: `name ^ (${hostname})`, - description_format: descriptionFormat, + descriptionFormat, }, }); diff --git a/webpack/components/extensions/HostDetails/Tabs/__tests__/packagesTab.test.js b/webpack/components/extensions/HostDetails/Tabs/__tests__/packagesTab.test.js index a5e2db82b3a..024db729300 100644 --- a/webpack/components/extensions/HostDetails/Tabs/__tests__/packagesTab.test.js +++ b/webpack/components/extensions/HostDetails/Tabs/__tests__/packagesTab.test.js @@ -271,7 +271,7 @@ test('Can bulk upgrade via remote execution', async (done) => { }, search_query: `name ^ (${hostname})`, feature: REX_FEATURES.KATELLO_PACKAGES_UPDATE_BY_SEARCH, - description_format: 'Upgrade package(s) chrony, coreutils', + descriptionFormat: 'Upgrade package(s) chrony, coreutils', }, }) .reply(201);