This is a continuation of #639.
The function GetSpecificApiVersionOnCondition did not respect minimum API version. This PR fixes the function so that we don't have errors waiting to happen like it was in #636 case. Also it simplifies API calls that used GetSpecificApiVersionOnCondition that are not relevant anymore.
Note
When client.APIVersion is bumped, this function may use newer API version than the constraints defined therefore one must test the code.
Testing
Tests passed on 10.5.1.1 with only known anomalies:
Thank you. Please add a note for reference to PR description too (about the risk involved in using this function without retesting on newer VCD versions).
This is a continuation of #639. The function
GetSpecificApiVersionOnCondition
did not respect minimum API version. This PR fixes the function so that we don't have errors waiting to happen like it was in #636 case. Also it simplifies API calls that usedGetSpecificApiVersionOnCondition
that are not relevant anymore.Note
When
client.APIVersion
is bumped, this function may use newer API version than the constraints defined therefore one must test the code.Testing
Tests passed on 10.5.1.1 with only known anomalies: