mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 18:41:37 +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))
|
||||
|
||||
req := packngo.DeviceUpdateRequest{
|
||||
HostName: hostname,
|
||||
Hostname: hostname,
|
||||
UserData: userData,
|
||||
Locked: dev.Locked,
|
||||
Tags: dev.Tags,
|
||||
@ -188,7 +188,7 @@ func runPacket(args []string) {
|
||||
} else {
|
||||
// Create a new device
|
||||
req := packngo.DeviceCreateRequest{
|
||||
HostName: hostname,
|
||||
Hostname: hostname,
|
||||
Plan: plan,
|
||||
Facility: facility,
|
||||
OS: osType,
|
||||
|
Loading…
Reference in New Issue
Block a user