Conversation
* Complete refactor of load balancing to unify types. * Handle protocol per type * Removed protocol and type from lb editing * Added filtering and verification of rule condition types * Add support for SNI --------- Co-authored-by: Alexandros Nikolopoulos <a.nikolopoulos@tilework.dev>
Comment on lines
+122
to
+124
| var result = await _containerManager.ExecuteContainerCommand( | ||
| container.Id, | ||
| $"influx setup --username admin --password \"{token}\" --org \"{orgName}\" --bucket tilework --token \"{token}\" --force"); |
| { | ||
| Acls = acls.Select(a => a.Name).ToList(), | ||
| Target = rule.TargetGroup.Id.ToString(), | ||
| Name = $"{rule.Id.ToString()}-{i}", |
|
|
||
| @code { | ||
| NewBaseLoadBalancerForm form = new NewBaseLoadBalancerForm(); | ||
| NewLoadBalancerForm form = new NewLoadBalancerForm(); |
Comment on lines
+236
to
+240
| catch (Exception ex) | ||
| { | ||
| _snackbar.Add($"Failed to load target health: {ex.Message}", Severity.Error); | ||
| _targetHealth = _targets.ToDictionary(target => target.Id, _ => LoadBalancerStatus.UNKNOWN); | ||
| } |
Comment on lines
+190
to
+194
| catch (Exception ex) | ||
| { | ||
| _logger.LogWarning(ex, "Failed to recover admin token from influxdb2 config"); | ||
| return null; | ||
| } |
Comment on lines
+365
to
+372
| catch | ||
| { | ||
| if (Enum.TryParse(destinationType, stringValue, ignoreCase: true, out var parsedValue)) | ||
| { | ||
| convertedValue = parsedValue; | ||
| return true; | ||
| } | ||
| } |
…ariable' Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.