mirror of
https://github.com/containers/gvisor-tap-vsock.git
synced 2025-10-29 03:02:40 +08:00
Fix all linting errors found by cross-lint
Signed-off-by: Gunjan Vyas <vyasgun20@gmail.com>
This commit is contained in:
@@ -100,12 +100,16 @@ func main() {
|
||||
}
|
||||
|
||||
logrus.Debug("Setting up proxies")
|
||||
setupProxies(ctx, group, sources, dests, identities)
|
||||
err = setupProxies(ctx, group, sources, dests, identities)
|
||||
if err != nil {
|
||||
logrus.Errorf("Error setting up proxies: %v", err)
|
||||
return
|
||||
}
|
||||
|
||||
// Wait for cmopletion (cancellation) or error
|
||||
// Wait for completion (cancellation) or error
|
||||
if err := group.Wait(); err != nil {
|
||||
logrus.Errorf("Error occured in execution group: " + err.Error())
|
||||
os.Exit(1)
|
||||
logrus.Errorf("Error occurred in execution group: " + err.Error())
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user