Update agent.go

This commit is contained in:
Daniel Hougaard
2024-03-01 07:02:04 +01:00
parent 1f3f061a06
commit e952659415
-1
View File
@@ -488,7 +488,6 @@ func (tm *TokenManager) MonitorSecretChanges(secretTemplate Template, sigChan ch
// Now you can use the `command` variable, which is guaranteed to be a string // Now you can use the `command` variable, which is guaranteed to be a string
for { for {
log.Info().Msg("polling")
token := tm.GetToken() token := tm.GetToken()
if token != "" { if token != "" {