@Override
    public List<DeploymentStatus> getStatus(ApiClient apiClient, String selector, boolean label, String namespace) {
        try {
            return buildStatus(getBySelector(apiClient, selector, label, namespace));
        } catch (HyscaleException e) {
            LOGGER.error("Error while fetching StatefulSet with selector {} in namespace {}, error {}", selector,
                    namespace, e.getMessage());
        }
        return Collections.emptyList();
    }
@param statefulSetList
@return list of service names from label of statefulset
deployer/deployer-services/src/main/java/io/hyscale/deployer/services/handler/impl/V1StatefulSetHandler.java