Skip to content

Commit c6451b6

Browse files
Potential fix for pull request finding 'Redundant ToString() call'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent cc10155 commit c6451b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tilework.core/Providers/LoadBalancingProviders/HAProxy/Mappers/HAProxyConfigurationProfile.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ private static List<Acl> BuildRuleAcls(Rule rule, ResolutionContext context)
209209
var condition = rule.Conditions[i];
210210
ruleAcls.Add(new Acl()
211211
{
212-
Name = $"{rule.Id.ToString()}-{i}",
212+
Name = $"{rule.Id}-{i}",
213213
Type = context.Mapper.Map<AclCondition>(condition.Type),
214214
Values = condition.Values
215215
});

0 commit comments

Comments
 (0)