Skip to content

Commit

Permalink
Merge branch 'master' into persist-ttl-string
Browse files Browse the repository at this point in the history
  • Loading branch information
longfangsong authored Nov 5, 2020
2 parents 031a6e7 + 4d4d293 commit 84e2e55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/rebase.yml

This file was deleted.

3 changes: 2 additions & 1 deletion pkg/autoscaling/calculation.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
package autoscaling

import (
"fmt"
"math"
"strings"
"time"
Expand Down Expand Up @@ -425,7 +426,7 @@ func findBestGroupToScaleOut(strategy *Strategy, scaleOutQuota float64, groups [
ResourceType: resources[0].ResourceType,
Labels: map[string]string{
// TODO: we need to make this label not duplicated when we implement the heterogeneous logic.
groupLabelKey: autoScalingGroupLabelKeyPrefix + component.String(),
groupLabelKey: fmt.Sprintf("%s-%s", autoScalingGroupLabelKeyPrefix, component.String()),
resourceTypeLabelKey: resources[0].ResourceType,
},
}
Expand Down

0 comments on commit 84e2e55

Please sign in to comment.