Debug print.
This commit is contained in:
parent
62df6ed37f
commit
5db9681213
1 changed files with 1 additions and 0 deletions
|
@ -109,6 +109,7 @@ func (i *Dcim_Interfaces_Create) CreateInterface(n *NetBox) error {
|
|||
fmt.Println(response.Body)
|
||||
return nil
|
||||
} else {
|
||||
fmt.Println(response.Body)
|
||||
return errors.Errorf("Response was: %d\n", response.StatusCode)
|
||||
}
|
||||
return nil
|
||||
|
|
Loading…
Reference in a new issue