GetAPIVersionV2 returns the V2 api version of the targeted API
()
| 95 | |
| 96 | // GetAPIVersionV2 returns the V2 api version of the targeted API |
| 97 | func GetAPIVersionV2() string { |
| 98 | return fetchAPIVersion().Links.CloudControllerV2.Meta.Version |
| 99 | } |
| 100 | |
| 101 | // SkipIfVersionLessThan is used to skip tests if the API version < the specified version. If |
| 102 | // minVersion contains the prefix 3 then the v3 version is checked, otherwise the v2 version is used. |
no test coverage detected