Skip to content

Commit

Permalink
fix: Warnings for primary_ntp and secondary_ntp when using routeros_i…
Browse files Browse the repository at this point in the history
…p_dhcp_client (#190)

Fixes #189
  • Loading branch information
vaerh authored Apr 26, 2023
1 parent 0f3ca4f commit a7fc49f
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions routeros/resource_ip_dhcp_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,22 @@ func ResourceDhcpClient() *schema.Resource {
"primary_dns": {
Type: schema.TypeString,
Computed: true,
Description: "The IP address of the first DNS resolver, that was assigned by the DHCP server",
Description: "The IP address of the first DNS resolver, that was assigned by the DHCP server.",
},
"primary_ntp": {
Type: schema.TypeString,
Computed: true,
Description: "The IP address of the primary NTP server, assigned by the DHCP server.",
},
"secondary_dns": {
Type: schema.TypeString,
Computed: true,
Description: "The IP address of the second DNS resolver, assigned by the DHCP server",
Description: "The IP address of the second DNS resolver, assigned by the DHCP server.",
},
"secondary_ntp": {
Type: schema.TypeString,
Computed: true,
Description: "The IP address of the secondary NTP server, assigned by the DHCP server.",
},
"status": {
Type: schema.TypeString,
Expand Down

0 comments on commit a7fc49f

Please sign in to comment.