@Override
    protected String getPodRevision(ApiClient apiClient, String selector, boolean label, String namespace) {
        List<V1Deployment> deploymentList = null;
        try {
            deploymentList = getBySelector(apiClient, selector, label, namespace);
        } catch (HyscaleException e) {
            LOGGER.error("Error fetching deployment for pod selection, ignoring", e);
            return null;
        }
        if (deploymentList == null || deploymentList.isEmpty()) {
            return null;
        }

        String revision = getDeploymentRevision(deploymentList.get(0));
        if (StringUtils.isBlank(revision)) {
            return null;
        }
        return getPodTemplateHash(apiClient, namespace, selector, revision);
    }
@param deploymentList
@return list of service names from label of deployment
deployer/deployer-services/src/main/java/io/hyscale/deployer/services/handler/impl/V1DeploymentHandler.java