Update agent.go

This commit is contained in:
Daniel Hougaard
2024-03-01 07:02:26 +01:00
parent e952659415
commit 97ac8cb45a
-2
View File
@@ -485,8 +485,6 @@ func (tm *TokenManager) MonitorSecretChanges(secretTemplate Template, sigChan ch
execTimeout := secretTemplate.Config.Exec.Timeout execTimeout := secretTemplate.Config.Exec.Timeout
execCommand := secretTemplate.Config.Exec.Command execCommand := secretTemplate.Config.Exec.Command
// Now you can use the `command` variable, which is guaranteed to be a string
for { for {
token := tm.GetToken() token := tm.GetToken()