
Fernando K pushed to branch main at Root / CLI / Netboxadm Commits: 07167e2b by Fernando Monteiro Kiotheka at 2025-08-04T16:56:17-03:00 fix(nethuh): device_id for select device interface - - - - - 1 changed file: - internal/nethuh/prompts.go Changes: ===================================== internal/nethuh/prompts.go ===================================== @@ -503,7 +503,7 @@ func SelectVirtualMachine(client *rest.Client) (*models.VirtualMachine, error) { } func SelectDeviceInterface(client *rest.Client, devID int) (*models.Interface, error) { - query := rest.NewQuery().Filter("id", rest.EX, strconv.Itoa(devID)) + query := rest.NewQuery().Filter("device_id", rest.EX, strconv.Itoa(devID)) res, err := rest.GET[models.Interface](client, route.Interfaces, query) if err != nil { View it on GitLab: https://gitlab.c3sl.ufpr.br/root/cli/netboxadm/-/commit/07167e2b3fc3fc61a8fd... -- View it on GitLab: https://gitlab.c3sl.ufpr.br/root/cli/netboxadm/-/commit/07167e2b3fc3fc61a8fd... You're receiving this email because of your account on gitlab.c3sl.ufpr.br.