fixed namespace restricted validation (#235)

This commit is contained in:
RoyUP9
2021-08-19 11:33:48 +03:00
committed by GitHub
parent a34c2fc0dc
commit 667f0dc87d
3 changed files with 8 additions and 16 deletions

View File

@@ -33,10 +33,6 @@ Supported protocols are HTTP and gRPC.`,
return errors.New("unexpected number of arguments")
}
if err := config.Config.Validate(); err != nil {
return errormessage.FormatError(err)
}
if err := config.Config.Tap.Validate(); err != nil {
return errormessage.FormatError(err)
}