Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added mso_schema_site_contract_service_graph_listener resource to manage Azure CNC - Listeners and Rules #256

Merged
merged 6 commits into from
Jan 12, 2024

Conversation

sajagana
Copy link
Collaborator

Note:

Added mso_schema_site_contract_service_graph_listener resource to manage Azure CNC Contract Service Graph Load Balancer - Listeners and Rules

@sajagana sajagana force-pushed the 190_listers_for_azure_cloud_lb branch from 18e3249 to 235718e Compare November 24, 2023 15:54
@sajagana sajagana marked this pull request as ready for review November 28, 2023 00:37
@sajagana sajagana force-pushed the 190_listers_for_azure_cloud_lb branch from 7297695 to f117e42 Compare December 22, 2023 07:24
@sajagana sajagana requested a review from akinross January 3, 2024 06:49
akinross
akinross previously approved these changes Jan 8, 2024
Copy link
Collaborator

@akinross akinross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

anvitha-jain
anvitha-jain previously approved these changes Jan 9, 2024
samiib
samiib previously approved these changes Jan 9, 2024
Copy link
Collaborator

@samiib samiib left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

rulesDiffBoolList = append(rulesDiffBoolList, newRuleHealthCheckMap["interval"].(int) == oldRuleHealthCheckMap["interval"].(int))
rulesDiffBoolList = append(rulesDiffBoolList, newRuleHealthCheckMap["path"].(string) == oldRuleHealthCheckMap["path"].(string))
rulesDiffBoolList = append(rulesDiffBoolList, newRuleHealthCheckMap["port"].(int) == oldRuleHealthCheckMap["port"].(int))
rulesDiffBoolList = append(rulesDiffBoolList, newRuleHealthCheckMap["protocol"].(string) == oldRuleHealthCheckMap["protocol"].(string))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
rulesDiffBoolList = append(rulesDiffBoolList, newRuleHealthCheckMap["protocol"].(string) == oldRuleHealthCheckMap["protocol"].(string))
rulesDiffBool = rulesDiffBool && newRuleHealthCheckMap["protocol"].(string) == oldRuleHealthCheckMap["protocol"].(string))

Apply this logic everywhere if you don't care of individual results and only need the overall value

…rce_mso_schema_site_contract_service_graph_listener.go
@sajagana sajagana dismissed stale reviews from samiib, anvitha-jain, and akinross via fb07cf1 January 10, 2024 12:28
…he resource_mso_schema_site_contract_service_graph_listener.go
Copy link
Collaborator

@akinross akinross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@samiib samiib left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@shrsr shrsr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@lhercot lhercot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants