Commit d84d3eeb authored by Tzlil Swimmer's avatar Tzlil Swimmer
Browse files

fix: linting fix #4

No related merge requests found
Showing with 0 additions and 2 deletions
+0 -2
...@@ -38,10 +38,8 @@ func TestCreatePolicy(t *testing.T) { ...@@ -38,10 +38,8 @@ func TestCreatePolicy(t *testing.T) {
switch defaultRule.UniqueName { switch defaultRule.UniqueName {
case "WORKLOAD_INCORRECT_NAMESPACE_VALUE_DEFAULT": case "WORKLOAD_INCORRECT_NAMESPACE_VALUE_DEFAULT":
expectedRules = append(expectedRules, RuleWithSchema{RuleIdentifier: defaultRule.UniqueName, RuleName: defaultRule.Name, Schema: defaultRule.Schema, MessageOnFailure: "Incorrect value for key `namespace` - use an explicit namespace instead of the default one (`default`)"}) expectedRules = append(expectedRules, RuleWithSchema{RuleIdentifier: defaultRule.UniqueName, RuleName: defaultRule.Name, Schema: defaultRule.Schema, MessageOnFailure: "Incorrect value for key `namespace` - use an explicit namespace instead of the default one (`default`)"})
break
case "CONTAINERS_INCORRECT_PRIVILEGED_VALUE_TRUE": case "CONTAINERS_INCORRECT_PRIVILEGED_VALUE_TRUE":
expectedRules = append(expectedRules, RuleWithSchema{RuleIdentifier: defaultRule.UniqueName, RuleName: defaultRule.Name, Schema: defaultRule.Schema, MessageOnFailure: "Incorrect value for key `privileged` - this mode will allow the container thenhjgjgj same access as processes running on the host"}) expectedRules = append(expectedRules, RuleWithSchema{RuleIdentifier: defaultRule.UniqueName, RuleName: defaultRule.Name, Schema: defaultRule.Schema, MessageOnFailure: "Incorrect value for key `privileged` - this mode will allow the container thenhjgjgj same access as processes running on the host"})
break
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment