mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 11:00:25 +00:00
cmd/packet: Fix API changes in the new version of the go bindings
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
b272819540
commit
007854f85e
@ -172,7 +172,7 @@ func runPacket(args []string) {
|
|||||||
log.Debugf("%s\n", string(b))
|
log.Debugf("%s\n", string(b))
|
||||||
|
|
||||||
req := packngo.DeviceUpdateRequest{
|
req := packngo.DeviceUpdateRequest{
|
||||||
HostName: hostname,
|
Hostname: hostname,
|
||||||
UserData: userData,
|
UserData: userData,
|
||||||
Locked: dev.Locked,
|
Locked: dev.Locked,
|
||||||
Tags: dev.Tags,
|
Tags: dev.Tags,
|
||||||
@ -188,7 +188,7 @@ func runPacket(args []string) {
|
|||||||
} else {
|
} else {
|
||||||
// Create a new device
|
// Create a new device
|
||||||
req := packngo.DeviceCreateRequest{
|
req := packngo.DeviceCreateRequest{
|
||||||
HostName: hostname,
|
Hostname: hostname,
|
||||||
Plan: plan,
|
Plan: plan,
|
||||||
Facility: facility,
|
Facility: facility,
|
||||||
OS: osType,
|
OS: osType,
|
||||||
|
Loading…
Reference in New Issue
Block a user