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

trim columns for lookout #1245

Merged
merged 5 commits into from
Jul 26, 2022
Merged

trim columns for lookout #1245

merged 5 commits into from
Jul 26, 2022

Conversation

kannon92
Copy link
Contributor

Closes #1099

In summary, lookout ui allows user inputs for job-sets, jobId queue and owner. There is a possibility for a user to add whitespace to end and we fail to lookout that job in a table.

This PR addresses this by trimming the user input so the lookout service can grab the jobs.

There are two changes in the JobService.ts and the JobQueryService that trim the whitespace.

@JamesMurkin and @carlocamurri Why do we allow arrays for JobSets? I only added trimming to objects that are pure strings. JobSets are an array of strings so I'm unsure.

JamesMurkin
JamesMurkin previously approved these changes Jul 26, 2022
@kannon92 kannon92 merged commit cbd9793 into armadaproject:master Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Trim Lookout inputs
2 participants