summaryrefslogtreecommitdiff
path: root/vendor/github.com/BurntSushi/toml/type_fields.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-01-12 15:26:20 +0100
committerGitHub <noreply@github.com>2022-01-12 15:26:20 +0100
commit2cdab5d53923784e72020d70ee9375518f19f9b6 (patch)
tree61f509a65109d2e7b0b69afd1cce56f3c8d55f28 /vendor/github.com/BurntSushi/toml/type_fields.go
parentc75c6ce908652afad82612f7d9096925140f19b1 (diff)
parent47374aac86ddc17c3cbd35dd52150191b3b6d44b (diff)
downloadpodman-2cdab5d53923784e72020d70ee9375518f19f9b6.tar.gz
podman-2cdab5d53923784e72020d70ee9375518f19f9b6.tar.bz2
podman-2cdab5d53923784e72020d70ee9375518f19f9b6.zip
Merge pull request #12824 from containers/dependabot/go_modules/github.com/BurntSushi/toml-1.0.0
Bump github.com/BurntSushi/toml from 0.4.1 to 1.0.0
Diffstat (limited to 'vendor/github.com/BurntSushi/toml/type_fields.go')
-rw-r--r--vendor/github.com/BurntSushi/toml/type_fields.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/BurntSushi/toml/type_fields.go b/vendor/github.com/BurntSushi/toml/type_fields.go
index 608997c22..254ca82e5 100644
--- a/vendor/github.com/BurntSushi/toml/type_fields.go
+++ b/vendor/github.com/BurntSushi/toml/type_fields.go
@@ -70,8 +70,8 @@ func typeFields(t reflect.Type) []field {
next := []field{{typ: t}}
// Count of queued names for current level and the next.
- count := map[reflect.Type]int{}
- nextCount := map[reflect.Type]int{}
+ var count map[reflect.Type]int
+ var nextCount map[reflect.Type]int
// Types already visited at an earlier level.
visited := map[reflect.Type]bool{}