Modify error API and add Listener tests (#36)
* Modify error API to not include exception, but to test on type * reformat * address renames and documentations from the review * test is errors * document
This commit is contained in:
@@ -140,7 +140,6 @@ func run(ctx context.Context, c Config) error {
|
||||
logger.Info("Initializing listener")
|
||||
listener, err := listener.New(scalesetClient, listener.Config{
|
||||
ScaleSetID: scaleSet.ID,
|
||||
MinRunners: c.MinRunners,
|
||||
MaxRunners: c.MaxRunners,
|
||||
Logger: logger.WithGroup("listener"),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user