Skip to content

Commit

Permalink
Update vault/resource_namespace.go
Browse files Browse the repository at this point in the history
Co-authored-by: John-Michael Faircloth <[email protected]>
  • Loading branch information
vinay-gopalan and fairclothjm authored Oct 4, 2023
1 parent 9b9e73f commit 1d9c42b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vault/resource_namespace.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func namespaceCreate(ctx context.Context, d *schema.ResourceData, meta interface

var data map[string]interface{}

// data in non-nil only if Vault version >= 1.12
// data is non-nil only if Vault version >= 1.12
// and custom_metadata is provided
if provider.IsAPISupported(meta, provider.VaultVersion112) {
if v, ok := d.GetOk(consts.FieldCustomMetadata); ok {
Expand Down

0 comments on commit 1d9c42b

Please sign in to comment.