Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

EVEREST-855 Fix namespaces validation #298

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

oksana-grishchenko
Copy link
Contributor

@oksana-grishchenko oksana-grishchenko commented Feb 15, 2024

Fix namespaces validation

Problem:
EVEREST-855

Wizard allowed an empty namespace

Cause:
Missed cornercase:strings.Split applied to an empty string returns a slice of length 1 (with an empty string as the first element), which from the implementation perspective was considered as a defined namespace.

CHECKLIST

Jira

  • Is the Jira ticket created and referenced properly?

Tests

  • Is an Integration test/test case added for the new feature/change?
  • Are unit tests added where appropriate?

@oksana-grishchenko oksana-grishchenko marked this pull request as ready for review February 15, 2024 10:07
@oksana-grishchenko oksana-grishchenko requested a review from a user February 15, 2024 10:07
@oksana-grishchenko oksana-grishchenko enabled auto-merge (squash) February 15, 2024 10:11
@oksana-grishchenko oksana-grishchenko merged commit 28304c2 into main Feb 15, 2024
9 of 10 checks passed
@oksana-grishchenko oksana-grishchenko deleted the EVEREST-855-namespaces-validation branch February 15, 2024 10:28
oksana-grishchenko added a commit that referenced this pull request Feb 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants