DEBUGGGG
This commit is contained in:
parent
4a5e3740df
commit
517376dd91
2 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
[core]
|
[core]
|
||||||
sshCommand = "/usr/bin/ssh"
|
sshCommand = "/usr/bin/ssh"
|
||||||
[user]
|
[user]
|
||||||
name = Kalle Carlbark
|
name = "Kalle Carlbark"
|
||||||
email = kalle.carlbark@kcbark.net
|
email = "kalle.carlbark@kcbark.net"
|
||||||
|
|
|
@ -2,6 +2,7 @@ package netboxgo
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"fmt"
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
"time"
|
"time"
|
||||||
|
@ -93,6 +94,7 @@ 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)
|
||||||
s.client.debugf("f: %+v\n, query: %s, platformsPath: %s\n", f, query, platformsPath)
|
s.client.debugf("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 {
|
||||||
|
|
Loading…
Reference in a new issue