Add subnet proxy config (#14225)

Will store the HTTP(S) proxy URL to use for connecting to SUBNET.
This commit is contained in:
Shireesh Anjal
2022-02-01 23:22:38 +05:30
committed by GitHub
parent 77b780b8ca
commit 3882da6ac5
5 changed files with 30 additions and 0 deletions

View File

@@ -361,6 +361,10 @@ func validateConfig(s config.Config) error {
return err
}
if _, err = subnet.LookupConfig(s[config.SubnetSubSys][config.Default]); err != nil {
return err
}
return notify.TestNotificationTargets(GlobalContext, s, NewGatewayHTTPTransport(), globalNotificationSys.ConfiguredTargetIDs())
}