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

Writer role fixes #126

Merged
merged 3 commits into from
Nov 14, 2022
Merged

Conversation

toddtreece
Copy link
Member

  • Clear writer role field when Define write permissions for Alarm Configuration Panel checkbox is unchecked
  • BatchPutPropertyValues returns an error when the writer role is empty

@@ -176,7 +176,7 @@ func TestFetchAWSData(t *testing.T) {
PropertyFilter: []models.TwinMakerPropertyFilter{
{
Name: "alarm_status",
Value: "ACTIVE",
Value: models.TwinMakerFilterValue{StringValue: aws.String("ACTIVE")},
Copy link
Member Author

Choose a reason for hiding this comment

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

for some reason lint was failing:

+ mage -v lint
Running target: Lint
exec: golangci-lint "run" "./..."
pkg/plugin/twinmaker/client_test.go:179:13: cannot use "ACTIVE" (untyped string constant) as models.TwinMakerFilterValue value in struct literal (typecheck)
					Value: "ACTIVE",
					       ^
Error: running "golangci-lint run ./..." failed with exit code 1

@@ -186,7 +186,7 @@ func TestFetchAWSData(t *testing.T) {
})

t.Run("athena connector test no filter", func(t *testing.T) {
// t.Skip()
t.Skip()
Copy link
Member Author

Choose a reason for hiding this comment

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

this was failing locally. i assume it should be skipped since it requires credentials?

Copy link
Collaborator

Choose a reason for hiding this comment

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

yes this should be skipped

@toddtreece toddtreece merged commit 160078d into 11172022_Release Nov 14, 2022
@toddtreece toddtreece deleted the toddtreece/assume-role-fixes branch November 14, 2022 21:21
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.

None yet

2 participants