Skip to content

Conversation

QxBytes
Copy link
Contributor

@QxBytes QxBytes commented Oct 13, 2025

Reason for Change:

Removes unnecessary debug.Stack() calls

Issue Fixed:

Requirements:

Notes:

@QxBytes QxBytes self-assigned this Oct 13, 2025
@QxBytes QxBytes added the ci Infra or tooling. label Oct 13, 2025
@QxBytes QxBytes marked this pull request as ready for review October 13, 2025 19:15
@QxBytes QxBytes requested a review from a team as a code owner October 13, 2025 19:15
@QxBytes QxBytes requested review from Copilot and paulyufan2 and removed request for paulyufan2 October 13, 2025 19:15
@QxBytes
Copy link
Contributor Author

QxBytes commented Oct 13, 2025

/azp run Azure Container Networking PR

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes unnecessary debug.Stack() calls from error messages in the Azure IPAM invoker and replaces them with predefined error variables for cleaner error handling.

  • Removes runtime/debug import and debug.Stack() calls from error messages
  • Introduces predefined error variables (errNilNetworkConfig, errInvalidIPAddress) for consistent error handling
  • Updates error messages to use the new error variables instead of stack traces

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@QxBytes QxBytes enabled auto-merge October 13, 2025 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Infra or tooling.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant