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 authored and fbreckle committed Nov 16, 2022
1 parent 62d3627 commit ebb0d62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/custom_fields.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const customFieldsKey = "custom_fields"
var customFieldsSchema = &schema.Schema{
Type: schema.TypeMap,
Optional: true,
Default: nil,
Default: "",
Required: false,
Elem: &schema.Schema{
Type: schema.TypeString,
Expand Down

0 comments on commit ebb0d62

Please sign in to comment.