-
Notifications
You must be signed in to change notification settings - Fork 178
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
chore: Upgrades Atlas SDK to v20231115012 #2211
Conversation
matchers[i] = map[string]any{ | ||
"fieldName": matcher.FieldName.ValueString(), | ||
"operator": matcher.Operator.ValueString(), | ||
"value": matcher.Value.ValueString(), | ||
matchers[i] = admin.StreamsMatcher{ | ||
FieldName: matcher.FieldName.ValueString(), | ||
Operator: matcher.Operator.ValueString(), | ||
Value: matcher.Value.ValueString(), |
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.
Only change was in alert configuration matchers model which is now typed (was a map[string]any
before).
if !reflect.DeepEqual(resultModel, tc.expectedTFModel) { | ||
t.Errorf("created terraform model did not match expected output.\n Expected: %s \n Result: %s", tc.expectedTFModel, resultModel) | ||
} | ||
assert.Equal(t, tc.expectedTFModel, resultModel, "created terraform model did not match expected output") |
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.
small pass by refactor
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.
LGTM!
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.
LGTM
Description
Link to any related issue(s): doing as part of CLOUDP-228077
This new SDK version includes the new
integrationId
property for alert configuration notifications.Type of change:
Required Checklist:
Further comments