diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-03-08 18:48:26 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-03-08 18:48:26 +0100 |
| commit | 36d1c4540af3ef058d68092e41af05aa4a8c5eca (patch) | |
| tree | 3657a5920e4b100749ccb9d2d555652e7b7e28e9 /syz-hub/hub.go | |
| parent | 63ef857906766b3cafe4aebc43bc38edf42096c3 (diff) | |
all: fix gometalinter warnings
Fix typos, non-canonical code, remove dead code, etc.
Diffstat (limited to 'syz-hub/hub.go')
| -rw-r--r-- | syz-hub/hub.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/syz-hub/hub.go b/syz-hub/hub.go index 11211be57..f8509f3a3 100644 --- a/syz-hub/hub.go +++ b/syz-hub/hub.go @@ -20,8 +20,8 @@ var ( ) type Config struct { - Http string - Rpc string + HTTP string + RPC string Workdir string Clients []struct { Name string @@ -55,9 +55,9 @@ func main() { hub.keys[mgr.Name] = mgr.Key } - hub.initHttp(cfg.Http) + hub.initHTTP(cfg.HTTP) - s, err := NewRpcServer(cfg.Rpc, hub) + s, err := NewRPCServer(cfg.RPC, hub) if err != nil { Fatalf("failed to create rpc server: %v", err) } |
