Skip to content

Commit

Permalink
Refs #36846 - change descriptionFormat to snake case (Katello#10846)
Browse files Browse the repository at this point in the history
(cherry picked from commit dfe70e8)
  • Loading branch information
jeremylenz authored and ianballou committed Feb 16, 2024
1 parent b4b898a commit fd96492
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const baseParams = ({
job_invocation: {
feature,
inputs,
descriptionFormat,
description_format: descriptionFormat,
search_query: `name ^ (${hostname})`,
},
});
Expand All @@ -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 }) =>
Expand All @@ -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 }) =>
Expand All @@ -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,
},
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fd96492

Please sign in to comment.