Skip to content

Commit

Permalink
upddated Netflow relation to resolve #259
Browse files Browse the repository at this point in the history
  • Loading branch information
AshuSoni-crest authored and lhercot committed Sep 17, 2021
1 parent 018dc55 commit d182eed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions client/infraAccBndlGrp_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -389,12 +389,12 @@ func (sm *ServiceManager) CreateRelationinfraRsNetflowMonitorPolFromPCVPCInterfa
return err
}

_, _, err = sm.client.Do(req)
cont, _, err := sm.client.Do(req)
if err != nil {
return err
}

return nil
return CheckForErrors(cont, "POST", sm.client.skipLoggingPayload)
}

func (sm *ServiceManager) DeleteRelationinfraRsNetflowMonitorPolFromPCVPCInterfacePolicyGroup(parentDn, tnNetflowMonitorPolName, fltType string) error {
Expand Down
4 changes: 2 additions & 2 deletions client/infraAccPortGrp_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,12 +393,12 @@ func (sm *ServiceManager) CreateRelationinfraRsNetflowMonitorPolFromLeafAccessPo
return err
}

_, _, err = sm.client.Do(req)
cont, _, err := sm.client.Do(req)
if err != nil {
return err
}

return nil
return CheckForErrors(cont, "POST", sm.client.skipLoggingPayload)
}

func (sm *ServiceManager) DeleteRelationinfraRsNetflowMonitorPolFromLeafAccessPortPolicyGroup(parentDn, tnNetflowMonitorPolName, fltType string) error {
Expand Down

0 comments on commit d182eed

Please sign in to comment.