Closed raulcabero closed 9 years ago
Yikes. That sounds very wrong. Let me see what I can find out.
Would you be kind enough to file a support ticket in your SoftLayer Account with a snippet of the code that is giving you trouble? Let me know what the ticket number is after you file it.
I am so sorry for the delay I did not see your update this is the ticket 15660532
Regards
Thank you. I have located the ticket and will see if I can't track down the problem in the Ruby API.
I've issued a pull request https://github.com/softlayer/softlayer-ruby/pull/73 which seeks to resolve this issue. Are you able to create a version based on the commit in that pull request and verify that it resolves the problem for you?
The SoftLayer::ImageTemplate.template_with_global_id should return an image template object with the specified globalID, but the method returns another image template.
e.g. when we make the following call : image_template = SoftLayer::ImageTemplate.template_with_global_id("e59000bb-3030-4e38-9249-215524853d9a", client: client)
We got the image template with globalID "29073a7a-2fac-405c-b59f-4de8ad6e4945"
As workaround we need to use the SoftLayer::ImageTemplate.template_with_id method