Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-40

Different drivers use different types for Node.id

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3.0
    • 0.4.0
    • Core
    • None
    • Any

    Description

      The type of the 'id' field is different (<str> for rackspace, <int> for linode) on Nodes returned from the list_images() call.

      I posted this to the mailing list and apparently there is not a standard type for 'id' across drivers.

      The unit tests seem to initialize nodes with integer 'id' as well.

      They should all use the same type for the id field – presumably string since there are providers that use strings that cannot be converted to ints.

      Attachments

        Activity

          People

            jsmith James Smith
            ssteinerx Steve Steiner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: