Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

[BZ#1926341] Correctly use namespace from meta.json instead of hard-coded 'openshift-migration' when adding providers #414

Merged
1 commit merged into from Feb 8, 2021

Conversation

mturley
Copy link
Collaborator

@mturley mturley commented Feb 8, 2021

https://bugzilla.redhat.com/show_bug.cgi?id=1926341

The namespace openshift-rhmtv is now being used downstream, but the openshift-migration namespace was hard-coded for the API request to add providers. This caused a 400 error when submitting the add provider form.

This PR fixes it by using the same META.namespace value we use in all other API requests so that it can be configured per deployment.

@konveyor-preview-bot
Copy link

🚀 Deployed Preview: http://konveyor-forklift-ui-pr-414-preview.surge.sh

Compare with current main branch: http://konveyor-forklift-ui-preview.surge.sh

@codecov
Copy link

codecov bot commented Feb 8, 2021

Codecov Report

Merging #414 (b3ab186) into main (0e0e4ad) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #414   +/-   ##
=======================================
  Coverage   63.58%   63.58%           
=======================================
  Files         124      124           
  Lines        3655     3655           
  Branches      939      939           
=======================================
  Hits         2324     2324           
  Misses       1314     1314           
  Partials       17       17           
Impacted Files Coverage Δ
src/app/client/helpers.ts 43.58% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0e0e4ad...b3ab186. Read the comment docs.

@ghost ghost merged commit 63ee1cb into kubev2v:main Feb 8, 2021
@mturley mturley deleted the fix-hardcoded-namespace branch February 8, 2021 22:50
@mturley mturley changed the title Correctly use namespace from meta.json instead of hard-coded 'openshift-migration' when adding providers [BZ#1926341] Correctly use namespace from meta.json instead of hard-coded 'openshift-migration' when adding providers Feb 8, 2021
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants