refactor(docs): remove duplicate util func to format possible values (#1050)
This commit is contained in:
parent
64d6fa9bea
commit
52b879b436
28 changed files with 30 additions and 77 deletions
|
|
@ -126,7 +126,7 @@ func (d *networkInterfaceDataSource) Schema(_ context.Context, _ datasource.Sche
|
|||
ElementType: types.StringType,
|
||||
},
|
||||
"type": schema.StringAttribute{
|
||||
Description: "Type of network interface. Some of the possible values are: " + utils.SupportedValuesDocumentation(typeOptions),
|
||||
Description: "Type of network interface. Some of the possible values are: " + utils.FormatPossibleValues(typeOptions...),
|
||||
Computed: true,
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -237,7 +237,7 @@ func (r *networkInterfaceResource) Schema(_ context.Context, _ resource.SchemaRe
|
|||
},
|
||||
},
|
||||
"type": schema.StringAttribute{
|
||||
Description: "Type of network interface. Some of the possible values are: " + utils.SupportedValuesDocumentation(typeOptions),
|
||||
Description: "Type of network interface. Some of the possible values are: " + utils.FormatPossibleValues(typeOptions...),
|
||||
Computed: true,
|
||||
PlanModifiers: []planmodifier.String{
|
||||
stringplanmodifier.UseStateForUnknown(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue