Skip to content

Commit

Permalink
rc on comments
Browse files Browse the repository at this point in the history
Signed-off-by: Feny Mehta <fbm3307@gmail.com>
  • Loading branch information
fbm3307 committed Jan 13, 2025
1 parent a3cb3c2 commit 8fbb7d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/space/space.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func NewSpaceWithFeatureToggles(userSignup *toolchainv1alpha1.UserSignup, target
func addFeatureToggles(space *toolchainv1alpha1.Space, toggles []toolchainconfig.FeatureToggle) {
var winners []string
for _, t := range toggles {
//the value of weight is not expected to go beyond 100 or negative , it won't overflow, hence its okay to ignore the overflow linter error
//the value of weight is not expected to go beyond 100, it won't overflow, hence its okay to ignore the overflow linter error
weight := int(t.Weight()) // nolint:gosec
// We generate a random number between 0 and 100. If the number is equal to or lower than the weight
// then the feature wins.
Expand Down

0 comments on commit 8fbb7d4

Please sign in to comment.