From 74c925c65fbb606eb712c23214b22151c28976a0 Mon Sep 17 00:00:00 2001 From: Juan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com> Date: Tue, 13 Dec 2022 12:04:05 +0100 Subject: [PATCH] Fix a deprecation warning (#91) * Fix a deprecated warning * Remove LCG workflow * Add back line deleted while solving merge conflicts Co-authored-by: jmcarcell --- .github/workflows/test.yml | 3 +-- k4FWCore/include/k4FWCore/DataHandle.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2507547b..95fe0e1f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,8 +9,7 @@ jobs: fail-fast: false matrix: cvmfs_base: ['sft.cern.ch/lcg/views'] - ENVIRONMENT: ['LCG_102rc1/x86_64-centos7-gcc11-opt', - 'dev3/latest/x86_64-centos7-gcc10-opt', + ENVIRONMENT: ['dev3/latest/x86_64-centos7-gcc10-opt', ] include: - cvmfs_base: 'sw.hsf.org' diff --git a/k4FWCore/include/k4FWCore/DataHandle.h b/k4FWCore/include/k4FWCore/DataHandle.h index f5967acd..43404884 100644 --- a/k4FWCore/include/k4FWCore/DataHandle.h +++ b/k4FWCore/include/k4FWCore/DataHandle.h @@ -178,7 +178,7 @@ template const std::string DataHandle::getCollMetadataCellID(con if (pds != nullptr) { auto colMD = pds->getProvider().getCollectionMetaData(id); - return colMD.getStringVal("CellIDEncodingString"); + return colMD.getValue("CellIDEncodingString"); } else { std::string msg("Could not get Podio Data Service."); throw GaudiException(msg, "Failed to get Collection Metadata.", StatusCode::FAILURE);