Add missing cacheLock/writeLock.Unlock calls
Add missing cacheLock/writeLock.Unlock calls

If an error occurred in this code path, the locks would not be released.

sudabon/influxdb,Mindera/influxdb,influxdb/influxdb,n1tr0g/influxdb,apigee/influxdb,sudabon/influxdb,mnuessler/influxdb,archsaber/influxdb,sudabon/influxdb,li-ang/influxdb,jipperinbham/influxdb,apigee/influxdb,lgpeterson/influxdb,bluebreezecf/influxdb,CVTJNII/influxdb-tjnii,vladlopes/influxdb,jgeiger/influxdb,archsaber/influxdb,vladlopes/influxdb,Mindera/influxdb,pablolmiranda/influxdb,m4ce/influxdb,benbjohnson/influxdb,nickrobinson/influxdb,Mindera/influxdb,pablolmiranda/influxdb,sudabon/influxdb,mnuessler/influxdb,jgeiger/influxdb,chenziliang/influxdb,apigee/influxdb,CVTJNII/influxdb-tjnii,linearb/influxdb,bluebreezecf/influxdb,mark-rushakoff/influxdb,samaitra/influxdb,daachi/influxdb,nooproblem/influxdb,CVTJNII/influxdb-tjnii,mark-rushakoff/influxdb,chenziliang/influxdb,joaopedrotaveira/influxdb,samaitra/influxdb,jipperinbham/influxdb,benbjohnson/influxdb,mark-rushakoff/influxdb,daachi/influxdb,lgpeterson/influxdb,n1tr0g/influxdb,otoolep/influxdb,vladlopes/influxdb,mark-rushakoff/influxdb,jgeiger/influxdb,jipperinbham/influxdb,linearb/influxdb,apigee/influxdb,bluebreezecf/influxdb,lgpeterson/influxdb,samaitra/influxdb,mnuessler/influxdb,nickrobinson/influxdb,lgpeterson/influxdb,bluebreezecf/influxdb,m4ce/influxdb,Mindera/influxdb,mnuessler/influxdb,mvadu/influxdb,benbjohnson/influxdb,sudabon/influxdb,arussellsaw/influxdb,pkittenis/influxdb,pkittenis/influxdb,CVTJNII/influxdb-tjnii,mvadu/influxdb,runner-mei/influxdb,CVTJNII/influxdb-tjnii,pkittenis/influxdb,influxdata/influxdb,lgpeterson/influxdb,nickrobinson/influxdb,archsaber/influxdb,n1tr0g/influxdb,jipperinbham/influxdb,jgeiger/influxdb,jonseymour/influxdb,influxdb/influxdb,mvadu/influxdb,otoolep/influxdb,joaopedrotaveira/influxdb,Mindera/influxdb,mark-rushakoff/influxdb,mvadu/influxdb,pablolmiranda/influxdb,bluebreezecf/influxdb,mnuessler/influxdb,jonseymour/influxdb,li-ang/influxdb,jonseymour/influxdb,arussellsaw/influxdb,mnuessler/influxdb,influxdb/influxdb,influxdb/influxdb,m4ce/influxdb,m4ce/influxdb,n1tr0g/influxdb,influxdb/influxdb,samaitra/influxdb,influxdb/influxdb,nooproblem/influxdb,linearb/influxdb,joaopedrotaveira/influxdb,sudabon/influxdb,Mindera/influxdb,jonseymour/influxdb,arussellsaw/influxdb,joaopedrotaveira/influxdb,joaopedrotaveira/influxdb,daachi/influxdb,daachi/influxdb,chenziliang/influxdb,nickrobinson/influxdb,n1tr0g/influxdb,runner-mei/influxdb,runner-mei/influxdb,jonseymour/influxdb,pkittenis/influxdb,nooproblem/influxdb,nooproblem/influxdb,m4ce/influxdb,nooproblem/influxdb,runner-mei/influxdb,jipperinbham/influxdb,CVTJNII/influxdb-tjnii,chenziliang/influxdb,apigee/influxdb,nickrobinson/influxdb,pkittenis/influxdb,samaitra/influxdb,linearb/influxdb,jgeiger/influxdb,pablolmiranda/influxdb,arussellsaw/influxdb,linearb/influxdb,otoolep/influxdb,influxdata/influxdb,arussellsaw/influxdb,pkittenis/influxdb,archsaber/influxdb,samaitra/influxdb,jonseymour/influxdb,arussellsaw/influxdb,benbjohnson/influxdb,jgeiger/influxdb,daachi/influxdb,daachi/influxdb,otoolep/influxdb,jipperinbham/influxdb,mvadu/influxdb,otoolep/influxdb,apigee/influxdb,pablolmiranda/influxdb,m4ce/influxdb,mvadu/influxdb,vladlopes/influxdb,mark-rushakoff/influxdb,n1tr0g/influxdb,otoolep/influxdb