Remove debug prints
This commit is contained in:
parent
14c9b748c6
commit
ffcda95b15
1 changed files with 0 additions and 6 deletions
|
@ -2,7 +2,6 @@ package netboxgo
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
"time"
|
"time"
|
||||||
|
@ -81,10 +80,6 @@ func (s *PlatformsService) List(ctx context.Context, f *PlatformFilter) (*Platfo
|
||||||
var req *http.Request
|
var req *http.Request
|
||||||
var err error
|
var err error
|
||||||
|
|
||||||
if f == nil {
|
|
||||||
s.client.debugf("f is null!!!!!!!!!!!!!!\n")
|
|
||||||
}
|
|
||||||
|
|
||||||
encoder := schema.NewEncoder()
|
encoder := schema.NewEncoder()
|
||||||
|
|
||||||
form := url.Values{}
|
form := url.Values{}
|
||||||
|
@ -94,7 +89,6 @@ func (s *PlatformsService) List(ctx context.Context, f *PlatformFilter) (*Platfo
|
||||||
}
|
}
|
||||||
query = form.Encode()
|
query = form.Encode()
|
||||||
|
|
||||||
fmt.Printf("f: %+v\n, query: %s, platformsPath: %s\n", f, query, platformsPath)
|
|
||||||
req, err = s.client.newRequest(ctx, "GET", platformsPath, query, nil)
|
req, err = s.client.newRequest(ctx, "GET", platformsPath, query, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return &platforms, err
|
return &platforms, err
|
||||||
|
|
Loading…
Reference in a new issue