increase timeouts
This commit is contained in:
@@ -16,6 +16,9 @@ import (
|
||||
// use gocron to check vcenters for VMs or updates we don't know about
|
||||
func (c *CronTask) RunVcenterPoll(ctx context.Context, logger *slog.Logger) error {
|
||||
var matchFound bool
|
||||
|
||||
// TODO - reload settings in case vcenter list has changed
|
||||
|
||||
for _, url := range c.Settings.Settings.VcenterAddresses {
|
||||
c.Logger.Debug("connecting to vcenter", "url", url)
|
||||
vc := vcenter.New(c.Logger, c.VcCreds)
|
||||
|
Reference in New Issue
Block a user