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]
sshCommand = "/usr/bin/ssh"
[user]
name = Kalle Carlbark
email = kalle.carlbark@kcbark.net
name = "Kalle Carlbark"
email = "kalle.carlbark@kcbark.net"

View file

@ -2,6 +2,7 @@ package netboxgo
import (
"context"
"fmt"
"net/http"
"net/url"
"time"
@ -93,6 +94,7 @@ func (s *PlatformsService) List(ctx context.Context, f *PlatformFilter) (*Platfo
}
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)
req, err = s.client.newRequest(ctx, "GET", platformsPath, query, nil)
if err != nil {