Skip to content

Commit

Permalink
Add UT for pkg/nsx/util
Browse files Browse the repository at this point in the history
Add UT for pkg/nsx/util
  • Loading branch information
TaoZou1 committed Dec 2, 2024
1 parent 3663545 commit f4d4b2a
Show file tree
Hide file tree
Showing 2 changed files with 891 additions and 15 deletions.
3 changes: 3 additions & 0 deletions pkg/nsx/util/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,9 @@ func ParseVPCPath(nsxResourcePath string) (orgID string, projectID string, vpcID
func DumpHttpRequest(request *http.Request) {
var body []byte
var err error
if request == nil {
return
}
if request.Body == nil {
return
}
Expand Down
Loading

0 comments on commit f4d4b2a

Please sign in to comment.