diff --git a/go/private/rules/transition.bzl b/go/private/rules/transition.bzl index 8ec0a93a2d..a0b60870a8 100644 --- a/go/private/rules/transition.bzl +++ b/go/private/rules/transition.bzl @@ -396,7 +396,7 @@ def _non_go_transition_impl(settings, _attr): # Reset to the original value of the setting before go_transition. new_settings[key] = json.decode(original_value) else: - new_settings[key] = settings[key] + new_settings[key] = _common_reset_transition_dict[key] # Reset the value of the helper setting to its default for two reasons: # 1. Performance: This ensures that the Go settings of non-Go