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

Fix: env0_variable_set_assignment 404, Error: failed to unassign vari… #967

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

TomerHeber
Copy link
Collaborator

…able sets: 404 Not Found: Configuration Set "..." is not assigned to project.

Issue & Steps to Reproduce / Feature Request

fixes #966

Solution

Modified the filter to check scopeId instead of scope.

…able sets: 404 Not Found: Configuration Set "..." is not assigned to project.
@TomerHeber
Copy link
Collaborator Author

/review

@bot-env0 bot-env0 requested a review from a team October 30, 2024 19:23
@@ -61,6 +61,11 @@ func TestUnitVariableSetAssignmentResource(t *testing.T) {
AssignmentScope: scope,
AssignmentScopeId: scopeId,
},
{
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added this use case: this should be filtered out.
(Which mean the test outcome shouldn't change).

@github-actions github-actions bot added ready to merge PR approved - can be merged once the PR owner is ready and removed pending final review labels Oct 30, 2024
@TomerHeber
Copy link
Collaborator Author

thank you @yaronya for the quick review (:

@TomerHeber TomerHeber merged commit 150c424 into main Oct 30, 2024
8 checks passed
@TomerHeber TomerHeber deleted the fix-faied-to-unassign-#966 branch October 30, 2024 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix provider ready to merge PR approved - can be merged once the PR owner is ready
Projects
None yet
2 participants