From 517376dd91299b34d4ae6d8ccda3b25211caeed7 Mon Sep 17 00:00:00 2001 From: Kalle Carlbark Date: Wed, 9 Feb 2022 10:15:31 +0100 Subject: [PATCH] DEBUGGGG --- .gitconfig | 4 ++-- platforms.go | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitconfig b/.gitconfig index 8003e59..0555d7f 100644 --- a/.gitconfig +++ b/.gitconfig @@ -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" diff --git a/platforms.go b/platforms.go index adb1014..8eba233 100644 --- a/platforms.go +++ b/platforms.go @@ -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 {