Skip to content

Commit 0ae9597

Browse files
aphecetchesawenzel
authored andcommitted
MCH: fix bad-channels-ccdb metadata default type
and add Created metadata tag for default object.
1 parent cd71530 commit 0ae9597

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Detectors/MUON/MCH/Conditions/src/bad-channels-ccdb.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ void uploadBadChannels(const std::string ccdbUrl,
8080
<< dest << "\n";
8181

8282
if (makeDefault) {
83-
md["default"] = true;
83+
md["default"] = "true";
84+
md["Created"] = "1";
8485
}
8586
api.storeAsTFileAny(&bv, dest, md, startTimestamp, endTimestamp);
8687
}

0 commit comments

Comments
 (0)