Skip to content

Commit

Permalink
test e2e v4.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
timdengyun committed Dec 18, 2023
1 parent fee54ef commit 1396e20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/nsx/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func GetClient(cf *config.NSXOperatorConfig) *Client {
// So, it's unnecessary to exit even if failed in the first time
if !nsxClient.NSXCheckVersion(SecurityPolicy) {
err := errors.New("SecurityPolicy feature support check failed")
log.Error(err, "initial NSX version check for SecurityPolicy got error")
log.Error(err, "Initial NSX version check for SecurityPolicy got error")
}
if !nsxClient.NSXCheckVersion(ServiceAccount) {
err := errors.New("NSXServiceAccount feature support check failed")
Expand Down
2 changes: 1 addition & 1 deletion pkg/nsx/services/securitypolicy/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func (service *SecurityPolicyService) buildSecurityPolicy(obj *v1alpha1.Security
return false
}

log.V(1).Info("building the model SecurityPolicy from CR SecurityPolicy", "object", *obj)
log.V(1).Info("Building the model SecurityPolicy from CR SecurityPolicy", "object", *obj)
nsxSecurityPolicy := &model.SecurityPolicy{}

nsxSecurityPolicy.Id = String(fmt.Sprintf("sp_%s", obj.UID))
Expand Down

0 comments on commit 1396e20

Please sign in to comment.