Skip to content

Commit

Permalink
Update resource_ip_dhcp_server_lease.go
Browse files Browse the repository at this point in the history
fix: #110 Added "detail" field & "host_name" set to computed.
  • Loading branch information
vaerh authored Feb 20, 2023
1 parent e8587ff commit 52c1249
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions routeros/resource_ip_dhcp_server_lease.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ func ResourceDhcpServerLease() *schema.Resource {
Description: "If specified, must match DHCP 'client identifier' option of the request.",
},
KeyComment: PropCommentRw,
"detail": {
Type: schema.TypeString,
Computed: true,
},
KeyDisabled: PropDisabledRw,
"dhcp_option": {
Type: schema.TypeString,
Expand All @@ -111,6 +115,7 @@ func ResourceDhcpServerLease() *schema.Resource {
"host_name": {
Type: schema.TypeString,
Optional: true,
Computed: true,
Description: "The hostname of the device",
},
"insert_queue_before": {
Expand Down

0 comments on commit 52c1249

Please sign in to comment.