Re: Why does CloudConfigSetService.configName return the collection?

2016-03-22 Thread Erick Erickson
I'll open a JIRA in a second. My puzzlement was the mis-match between the method name and the returned value struck me as odd... Not a big deal, the root question is how to get the configset name from a core descriptor. Erick On Tue, Mar 22, 2016 at 1:17 AM, Alan Woodward

Re: Why does CloudConfigSetService.configName return the collection?

2016-03-22 Thread Alan Woodward
The configset name is only used in logging at the moment. I agree that it would be useful to get the config that it was loaded from as well as the collection it's to be used for, though. I'd say open a JIRA. Alan Woodward www.flax.co.uk On 22 Mar 2016, at 01:21, Erick Erickson wrote: > A

Why does CloudConfigSetService.configName return the collection?

2016-03-21 Thread Erick Erickson
A client pointed this out. For arcane reasons they wanted to get the configset name given a CoreDescriptor and were trying to use CloudConfigSetService.configName(). The code for that method is: public String configName(CoreDescriptor cd) { return "collection " +