This commit is contained in:
Kalle Carlbark 2022-02-09 10:15:31 +01:00
parent 4a5e3740df
commit 517376dd91
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View file

@ -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"

View file

@ -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 {