MINOR: [session] remove environment nil validation log
This commit is contained in:
parent
b3cc53dc42
commit
80a2bf9d82
|
@ -406,11 +406,7 @@ func (session *ExchangeSession) initSymbol(ctx context.Context, environ *Environ
|
||||||
return fmt.Errorf("market %s is not defined", symbol)
|
return fmt.Errorf("market %s is not defined", symbol)
|
||||||
}
|
}
|
||||||
|
|
||||||
if environ == nil {
|
|
||||||
session.logger.Info("environment is nil")
|
|
||||||
} else {
|
|
||||||
session.logger.Infof("environment config: %+v", environ.environmentConfig)
|
session.logger.Infof("environment config: %+v", environ.environmentConfig)
|
||||||
}
|
|
||||||
|
|
||||||
disableMarketDataStore := environ.environmentConfig != nil && environ.environmentConfig.DisableMarketDataStore
|
disableMarketDataStore := environ.environmentConfig != nil && environ.environmentConfig.DisableMarketDataStore
|
||||||
disableSessionTradeBuffer := environ.environmentConfig != nil && environ.environmentConfig.DisableSessionTradeBuffer
|
disableSessionTradeBuffer := environ.environmentConfig != nil && environ.environmentConfig.DisableSessionTradeBuffer
|
||||||
|
|
Loading…
Reference in New Issue
Block a user