[experiments] Allow deleting experiments without updating rollouts.yaml (#33628)

pull/33630/head
Craig Tiller 1 year ago committed by GitHub
parent 78240d42f1
commit 1e465cac91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      tools/codegen/core/experiments_compiler.py

@ -321,6 +321,7 @@ class ExperimentsCompiler(object):
"WARNING: rollout for an undefined experiment: %s ignored" "WARNING: rollout for an undefined experiment: %s ignored"
% rollout_attributes["name"] % rollout_attributes["name"]
) )
return True
return self._experiment_definitions[ return self._experiment_definitions[
rollout_attributes["name"] rollout_attributes["name"]
].AddRolloutSpecification( ].AddRolloutSpecification(

Loading…
Cancel
Save