aboutsummaryrefslogtreecommitdiffstats
path: root/prog/rand.go
diff options
context:
space:
mode:
Diffstat (limited to 'prog/rand.go')
-rw-r--r--prog/rand.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/prog/rand.go b/prog/rand.go
index b15871b8a..760f7a904 100644
--- a/prog/rand.go
+++ b/prog/rand.go
@@ -25,10 +25,10 @@ const (
type randGen struct {
*rand.Rand
- target *Target
- inGenerateResource bool
- inPatchConditional bool
- recDepth map[string]int
+ target *Target
+ inGenerateResource bool
+ patchConditionalDepth int
+ recDepth map[string]int
}
func newRand(target *Target, rs rand.Source) *randGen {