github.com/DaAlbrecht/cf-cli@v0.0.0-20231128151943-1fe19bb400b9/actor/v7action/version.go (about) 1 package v7action 2 3 // GetUAAAPIVersion returns the UAA API version. 4 func (actor Actor) GetUAAAPIVersion() (string, error) { 5 // NOTE: We are making a request here because this method is currently only 6 // used in one branch of one command. However, we could probably do a refactor 7 // to store the UAA version in the config file upon login, like we do with the 8 // UAA URL, so we could just read from there instead of making a request here. 9 10 return actor.UAAClient.GetAPIVersion() 11 }