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:
Nikola Jokic
2025-12-02 18:23:40 +01:00
committed by GitHub
parent 01adae723f
commit 7e0eae99a6
12 changed files with 1680 additions and 80 deletions
-1
View File
@@ -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"),
})