Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

createContainer with String on existing cdnEnabled container #18

Open
rtgibbons opened this issue Nov 16, 2011 · 1 comment
Open

createContainer with String on existing cdnEnabled container #18

rtgibbons opened this issue Nov 16, 2011 · 1 comment
Assignees

Comments

@rtgibbons
Copy link

creating a container with just a string works. But if it already Exists and is cdnEnabled, it doesn't grab the cdnUri. See this commit for the test rtgibbons@de35b53 , here is the object it produces

{ files: [],
  client: 
   { config: 
      { auth: [Object],
        serverUrl: 'https://servers.api.rackspacecloud.com/v1.0/<Number>',
        storageUrl: 'https://storage101.ord1.clouddrive.com/v1/MossoCloudFS_<UUID>',
        cdnUrl: 'https://cdn2.clouddrive.com/v1/MossoCloudFS_<UUID>',
        authToken: '<UUID>',
        storageToken: '<UUID>' },
     authorized: true },
  name: undefined,
  cdnEnabled: false,
  cdnUri: undefined,
  cdnSslUri: undefined,
  ttl: undefined,
  logRetention: undefined,
  count: 0,
  bytes: 0 }

(not sure what's sensitive information, removed the nubmers and uuid's)

Don't have time to explore the fix, just documenting the bug. Once we get this software pushed this week I'll try to come back and revisit

P.S. creating a container via new cloudfile.Container works fine.

@jfhbrook
Copy link

Thanks! We'll get someone on it soon.

@ghost ghost assigned bmeck Nov 20, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants