Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
BBBmau committed Oct 17, 2024
1 parent 0594e2f commit 3269a9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions kubernetes/resource_kubernetes_secret_v1_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,12 @@ func resourceKubernetesSecretV1Data() *schema.Resource {
Type: schema.TypeBool,
Description: "Flag to force updates to the Kubernetes Secret.",
Optional: true,
//Default: true,
},
"field_manager": {
Type: schema.TypeString,
Description: "Set the name of the field manager for the specified labels",
Optional: true,
Default: defaultFieldManagerName,
//ValidateFunc: validation.StringIsNotWhiteSpace,
},
},
}
Expand Down Expand Up @@ -128,6 +126,7 @@ func resourceKubernetesSecretV1DataRead(ctx context.Context, d *schema.ResourceD
if !managed && !configured {
delete(data, k)
}

}
decodedData := make(map[string]string, len(data))
for k, v := range data {
Expand Down
1 change: 1 addition & 0 deletions kubernetes/resource_kubernetes_secret_v1_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package kubernetes

import (
Expand Down

0 comments on commit 3269a9e

Please sign in to comment.