mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-04-07 03:16:42 +00:00
devices: Stop fetching unnecessary device fields
Change-type: patch
This commit is contained in:
parent
9d8df0b781
commit
3c93db8449
@ -92,7 +92,9 @@ export default class DevicesCmd extends Command {
|
||||
|
||||
if (options.fleet != null) {
|
||||
const { getApplication } = await import('../../utils/sdk');
|
||||
const application = await getApplication(balena, options.fleet);
|
||||
const application = await getApplication(balena, options.fleet, {
|
||||
$select: 'id',
|
||||
});
|
||||
devices = (await balena.models.device.getAllByApplication(
|
||||
application.id,
|
||||
devicesOptions,
|
||||
|
Loading…
x
Reference in New Issue
Block a user