> - if (cdnUri == null) {
> - // CDN is not, and has never, been enabled for this container.
> - return null;
> - }
> - else {
> - return new ContainerCDNMetadata(
> - request.getEndpoint().getPath(),
> - Boolean.parseBoolean(cdnEnabled),
> - Boolean.parseBoolean(cdnLogRetention),
> - Long.parseLong(cdnTTL),
> - URI.create(cdnUri),
> - URI.create(cdnSslUri),
> - URI.create(cdnStreamingUri));
> - }
> + // just need the name from the path
> + List<String> parts =
> newArrayList(Splitter.on('/').split(request.getEndpoint().getPath()));
I agree.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/309/files#r10439923