public function getActiveVersion($service, $activeVersion)
    {
        $currActiveVersion = $this->determineVersions($service->versions);
        if ($currActiveVersion['active_version'] != $activeVersion) {
            throw new LocalizedException(__('Active versions mismatch.'));
        }
        return $currActiveVersion;
    }