func()

in pkg/azure/helpers.go [45:53]


func (az *azClient) updateCache(fwRuleCollectionGrp *n.FirewallPolicyRuleCollectionGroup) {
	jsonConfig, err := fwRuleCollectionGrp.MarshalJSON()
	if err != nil {
		klog.Error("Could not marshal fw config to update cache; Wiping cache.", err)
		az.configCache = nil
		return
	}
	*az.configCache = jsonConfig
}