weave icon indicating copy to clipboard operation
weave copied to clipboard

invalid json in 10-weave.conflist

Open fvigotti opened this issue 3 years ago • 0 comments

weave 2.8.1 create a invalid /etc/cni/net.d/10-weave.conflist it contain "hairpinMode": True which should be hairpinMode": true

and this trigger error in podman json parsing :

ERRO[0000] Error loading CNI config list file /etc/cni/net.d/10-weave.conflist: error parsing configuration list: invalid character 'T' looking for beginning of value 

do note that other values correctly write : true instead of :True , ie : ` "capabilities": {"portMappings": true}, "snat": true

`

fvigotti avatar Oct 06 '21 13:10 fvigotti