Debug print.

This commit is contained in:
Kalle Carlbark 2019-09-11 09:39:44 +02:00
parent 62df6ed37f
commit 5db9681213
No known key found for this signature in database
GPG key ID: 3FC0C93C5A5A0670

View file

@ -109,6 +109,7 @@ func (i *Dcim_Interfaces_Create) CreateInterface(n *NetBox) error {
fmt.Println(response.Body) fmt.Println(response.Body)
return nil return nil
} else { } else {
fmt.Println(response.Body)
return errors.Errorf("Response was: %d\n", response.StatusCode) return errors.Errorf("Response was: %d\n", response.StatusCode)
} }
return nil return nil