rollouts-plugin-trafficrouter-gatewayapi
rollouts-plugin-trafficrouter-gatewayapi copied to clipboard
docs: fix installation via init containers example
Hey guys,
I noticed that the example given in the docs has an issue which causes the error below when deployed as-is:
Failed to init config: failed to unmarshal traffic router plugins while initializing: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal object into Go value of type []types.PluginItem
The fix I'm submitting works and is tested. I believe the issue was that the config key was repeated twice.