Closed tongpu closed 5 years ago
Hi @tongpu. Thanks for your PR.
I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test
on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.
What does this PR do?
When a user with access to multiple projects is used to perform the backup, all projects are being written to the/ns.json
files and a subsequent restore fails, because project_import.sh can't
detect the correct namespace to restore to.
How should this be manually tested?
Before the change (multiple items in the JSON object):
After the change (items is not part of the JSON object anymore
Who would you like to review this?
cc: @tomassedovic PTAL