diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-09-05 16:32:32 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-09-05 19:02:12 +0200 |
| commit | e52bd337005459c3352edbff46cc17040ee5adb3 (patch) | |
| tree | bed5f32b2902f9ba7777f096e8795efd4820b738 /prog/rand.go | |
| parent | eb45aa4244bffd937b4175de5ca1d42c1cf2dbba (diff) | |
prog: move resource-related functions to a separate file
Diffstat (limited to 'prog/rand.go')
| -rw-r--r-- | prog/rand.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/rand.go b/prog/rand.go index 7d69d758a..5526427f5 100644 --- a/prog/rand.go +++ b/prog/rand.go @@ -318,7 +318,7 @@ func (r *randGen) createResource(s *state, res *ResourceType) (arg Arg, calls [] kind = all[r.Intn(len(all))] } // Find calls that produce the necessary resources. - metas0 := ResourceConstructors(kind) + metas0 := resourceCtors[kind] // TODO: reduce priority of less specialized ctors. var metas []*Syscall for _, meta := range metas0 { |
