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

A tenancy should be a valid compartment since it is technically... #4857

Merged
merged 1 commit into from
Jul 22, 2022

Conversation

jlamillan
Copy link
Contributor

…oot compartment. Resolves kontainer-engine-driver-oke/issues/45.
@richard-cox
Copy link
Member

It looks like this contains the exact same change as #4038 and targets the same branch (master). Guessing with a rebase the diff would disappear.

I'll close the PR, @jlamillan just let us know if you have any questions

@jlamillan
Copy link
Contributor Author

Hey @richard-cox

I'm not seeing that the changes in this PR are included in master.

i.e. master has:

    if (!compartmentId.startsWith('ocid1.compartment')) {
      errors.push('A valid compartment OCID is required');
    }

we want:

    if (!compartmentId.startsWith('ocid1.compartment') && !compartmentId.startsWith('ocid1.tenancy')) {
      errors.push('A valid compartment OCID is required');
    }

@richard-cox
Copy link
Member

Strange, as both https://github.com/rancher/ui/pull/4038/files and https://github.com/rancher/ui/pull/4857/files both have the same files and branch with the former merged.

Sorry for the confusion.

@richard-cox richard-cox reopened this Jul 22, 2022
@richard-cox richard-cox added this to the 2.6.7 milestone Jul 22, 2022
@richard-cox richard-cox merged commit aba7753 into rancher:master Jul 22, 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.

2 participants