diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-06-17 12:34:44 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-06-17 14:41:15 +0200 |
| commit | a853b91c58c5403428499f5cdc661033ac7a91ce (patch) | |
| tree | 087ec3605a3379a74b1afab787c7a830673bb3c1 /tools/syz-crush | |
| parent | 75c73461d8c3025e9974da2215000d849c43bbbc (diff) | |
syz-manager/mgrconfig: allow loading from memory
Allow loading manager config from memory.
Follow pkg/config naming convention,
i.e. LoadFile/LoadData instead of Parse.
Diffstat (limited to 'tools/syz-crush')
| -rw-r--r-- | tools/syz-crush/crush.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/syz-crush/crush.go b/tools/syz-crush/crush.go index 17dc87944..6020ab4a2 100644 --- a/tools/syz-crush/crush.go +++ b/tools/syz-crush/crush.go @@ -29,7 +29,7 @@ var ( func main() { flag.Parse() - cfg, _, err := mgrconfig.Parse(*flagConfig) + cfg, _, err := mgrconfig.LoadFile(*flagConfig) if err != nil { Fatalf("%v", err) } |
