Skip to content

Commit e44eca0

Browse files
committed
typo
1 parent f34a463 commit e44eca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cns/NetworkContainerContract.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ func (networkContainerRequestPolicy *NetworkContainerRequestPolicies) Validate()
267267
}
268268
//Deny request if ACL direction is not In or Out
269269
if !strings.EqualFold(requestedAclPolicy.Direction, "In") && !strings.EqualFold(requestedAclPolicy.Direction, "Out") {
270-
return fmt.Errorf("Only Allow or Deny is supported in Action field")
270+
return fmt.Errorf("Only In or Out is supported in Direction field")
271271
}
272272
if requestedAclPolicy.Priority == 0 {
273273
return fmt.Errorf("Priority field cannot be empty in ACL Policy")

0 commit comments

Comments
 (0)