Skip to content

Commit 3269a9e

Browse files
committed
cleanup
1 parent 0594e2f commit 3269a9e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kubernetes/resource_kubernetes_secret_v1_data.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,12 @@ func resourceKubernetesSecretV1Data() *schema.Resource {
6161
Type: schema.TypeBool,
6262
Description: "Flag to force updates to the Kubernetes Secret.",
6363
Optional: true,
64-
//Default: true,
6564
},
6665
"field_manager": {
6766
Type: schema.TypeString,
6867
Description: "Set the name of the field manager for the specified labels",
6968
Optional: true,
7069
Default: defaultFieldManagerName,
71-
//ValidateFunc: validation.StringIsNotWhiteSpace,
7270
},
7371
},
7472
}
@@ -128,6 +126,7 @@ func resourceKubernetesSecretV1DataRead(ctx context.Context, d *schema.ResourceD
128126
if !managed && !configured {
129127
delete(data, k)
130128
}
129+
131130
}
132131
decodedData := make(map[string]string, len(data))
133132
for k, v := range data {

kubernetes/resource_kubernetes_secret_v1_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Copyright (c) HashiCorp, Inc.
22
// SPDX-License-Identifier: MPL-2.0
3+
34
package kubernetes
45

56
import (

0 commit comments

Comments
 (0)