most of the remaining unit testing added

This commit is contained in:
Chris Marchesi committed 2021-10-07 12:40:55 -07:00
1 parent 00907f72cc
commit 9a5e4016fa
4 files changed
+748 -7

No files matched your search

+1 -1
View File
@@ -571,7 +571,7 @@ func buildFilters(in *structpb.Struct) ([]*ec2.Filter, error) {
for _, e := range w {
f, ok := e.(string)
if !ok {
return nil, fmt.Errorf("unexpected type for filter value %v: want array, got %T", e, e)
return nil, fmt.Errorf("unexpected type for filter element value %v: want string, got %T", e, e)
}
filterValues = append(filterValues, aws.String(f))