Skip to content

Fix casting of AgentToken to make CI/CD tunnels work

Timo Furrer requested to merge fix-cicd-tunnels into master

It seems that the CI/CD tunnels were broken, because of a "casting" issue.

It could have also been solved by changing the factory code, e.g.:

-key := api.AgentToken2key(agentToken.(api.AgentToken))
+key := api.AgentToken2key(api.AgentToken(agentToken.(string)))

However, it's probably best to align with the other implementations of the KeyToRedisKey functions.

Merge request reports