Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TypeError when running a command on a host in a smart inventory #11768

Merged
merged 1 commit into from
Feb 21, 2022

Conversation

nixocio
Copy link
Contributor

@nixocio nixocio commented Feb 17, 2022

Fix TypeError when running a command on a host in a smart inventory

image

See: #11611

Fix TypeError when running a command on a host in a smart inventory

See: ansible#11611
@@ -91,6 +99,7 @@ function SmartInventoryHostList({ inventory }) {
adHocItems={selected}
hasListItems={count > 0}
onLaunchLoading={setIsAdHocLaunchLoading}
moduleOptions={moduleOptions}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Verified that adding this prop resolves the issue. Thanks for defining the PropTypes in AdHocCommands. Nice work!

@nixocio
Copy link
Contributor Author

nixocio commented Feb 17, 2022

I triggered the e2e tests.

@InnocentK InnocentK self-assigned this Feb 21, 2022
@cypress
Copy link

cypress bot commented Feb 21, 2022



Test summary

128 0 23 0Flakiness 0


Run details

Project AWX - Functional
Status Passed
Commit 92eb26a
Started Feb 21, 2022 3:43 PM
Ended Feb 21, 2022 4:22 PM
Duration 38:38 💡
OS Linux Debian - 10.11
Browser Chrome 96

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

Copy link
Contributor

@InnocentK InnocentK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work! Running some E2E testing and will merge after that is completed but its looking good so far

@InnocentK InnocentK merged commit eb859b9 into ansible:devel Feb 21, 2022
AlexSCorey pushed a commit to AlexSCorey/awx that referenced this pull request Feb 22, 2022
…nsible#11768)

Fix TypeError when running a command on a host in a smart inventory

See: ansible#11611
AlexSCorey pushed a commit to AlexSCorey/awx that referenced this pull request Feb 23, 2022
…nsible#11768)

Fix TypeError when running a command on a host in a smart inventory

See: ansible#11611
slemrmartin pushed a commit to slemrmartin/awx that referenced this pull request Mar 30, 2022
…nsible#11768)

Fix TypeError when running a command on a host in a smart inventory

See: ansible#11611
slemrmartin pushed a commit to slemrmartin/awx that referenced this pull request Mar 30, 2022
…nsible#11768)

Fix TypeError when running a command on a host in a smart inventory

See: ansible#11611
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants