private void setSelectorDebugString()

in src/main/java/com/google/cloud/run/kafkascaler/ScalingStabilizer.java [57:65]


    private void setSelectorDebugString(Scaling.SelectPolicy selector) {
      if (!selectorDebugString.isEmpty()) {
        // This should never happen since it's only set once per scale up or scale down path and
        // only one of those two paths should run, not both.
        throw new IllegalStateException("Selector debug string already set.");
      }

      selectorDebugString = String.format("{Select: %s}", selector);
    }