Skip to content

Commit

Permalink
[feature/netbox_device_custom_fields] fixed customFieldsSchema, set d…
Browse files Browse the repository at this point in the history
…efault vault "" instead nil
  • Loading branch information
doncu committed Sep 28, 2022
1 parent 0930f8c commit fc211c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion netbox/custom_fields.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ const customFieldsKey = "custom_fields"
var customFieldsSchema = &schema.Schema{
Type: schema.TypeMap,
Optional: true,
Default: nil,
Default: "",
Required: false,
Elem: &schema.Schema{
Type: schema.TypeString,
Default: nil,
Expand Down

0 comments on commit fc211c7

Please sign in to comment.