Skip to content

Commit 2acd591

Browse files
authored
Fix device:add display name flag (librenms#19744)
1 parent 92aa713 commit 2acd591

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/Console/Commands/DeviceAdd.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function handle(): int
8888
$priv = $this->option('privacy-password');
8989
$device = new Device([
9090
'hostname' => $this->argument('device spec'),
91-
'display' => $this->option('display-name'),
91+
'display_template' => $this->option('display-name'),
9292
'snmpver' => $this->option('v3') ? 'v3' : ($this->option('v2c') ? 'v2c' : ($this->option('v1') ? 'v1' : '')),
9393
'port' => $this->option('port'),
9494
'transport' => $this->option('transport'),

0 commit comments

Comments
 (0)