Lo.
This commit is contained in:
parent
a10a3eb619
commit
f554667faa
1 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,7 @@ package nbclient
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
"fmt"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
"net/http"
|
"net/http"
|
||||||
"time"
|
"time"
|
||||||
|
@ -104,5 +105,5 @@ func (i *Dcim_Interfaces_Create) CreateInterface(n *NetBox) error {
|
||||||
} else {
|
} else {
|
||||||
return errors.Errorf("Response was: %d\n", response.StatusCode)
|
return errors.Errorf("Response was: %d\n", response.StatusCode)
|
||||||
}
|
}
|
||||||
return nil
|
fmt.Println(response.Body)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue