Skip to content

Commit

Permalink
update TODO list, add comment to notOperation
Browse files Browse the repository at this point in the history
  • Loading branch information
lhitchon committed Mar 16, 2018
1 parent 26e8845 commit 1d7aa47
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -359,7 +359,6 @@ Lots to do. This is just a proof-of-concept.
* Add ability to extend with a Lambda function
* Add examples to this file for Kubernetes files
* Support multiple rules files, or a rules directory
* Not operator takes a list (to match the way Cloud Custodian works), should make sure size == 1
* Figure out how dependency management works in go
* The lambda function does not handle OverSizedChangeNotification
* The lambda function name is hard-coded in the Makefile
1 change: 1 addition & 0 deletions assertion/assertion.go
Expand Up @@ -37,6 +37,7 @@ func andOperation(assertions []Assertion, resource Resource, log LoggingFunction
}

func notOperation(assertions []Assertion, resource Resource, log LoggingFunction) bool {
// more than one child filter treated as not any
for _, childAssertion := range assertions {
if booleanOperation(childAssertion, resource, log) {
return false
Expand Down

0 comments on commit 1d7aa47

Please sign in to comment.