-
Notifications
You must be signed in to change notification settings - Fork 874
chore: load 'assign_default' value from legacy value #17428
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
Conversation
If this value was set before v2.19.0, then assign_default was in a json field that would not match. And it would default to `false`. This corrects that.
/cherry-pick release/2.21 |
coderd/idpsync/organizations_test.go
Outdated
|
||
t.Run("AssignDefault,False", func(t *testing.T) { | ||
t.Parallel() | ||
legacy := `{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
coderd/idpsync/organizations_test.go
Outdated
|
||
t.Run("CorrectAssign", func(t *testing.T) { | ||
t.Parallel() | ||
legacy := `{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
Co-authored-by: ケイラ <mckayla@hey.com>
Cherry-pick failed with |
If this value was set before v2.19.0, then assign_default was in a json field that would not match. And it would default to
false
. This corrects that.