Skip to content

Conversation

@paulyufan2
Copy link
Contributor

Reason for Change:

This PR is to migrate zap logger for ACN ipam package

Issue Fixed:

Requirements:

Notes:

@paulyufan2 paulyufan2 added the cni Related to CNI. label Oct 17, 2023
@paulyufan2 paulyufan2 requested a review from a team as a code owner October 17, 2023 18:48
@paulyufan2 paulyufan2 changed the title migration zap logger for acn ipam package [CNI] Migrate zap logger for acn ipam package Oct 17, 2023
@paulyufan2 paulyufan2 enabled auto-merge (squash) October 17, 2023 19:34
@paulyufan2 paulyufan2 force-pushed the acnipamzaplogger branch 3 times, most recently from 22e14a7 to 35154f1 Compare October 19, 2023 20:36
@paulyufan2 paulyufan2 requested a review from a team as a code owner October 20, 2023 13:45
@paulyufan2 paulyufan2 force-pushed the acnipamzaplogger branch 2 times, most recently from e24f958 to 8dbd2a7 Compare October 25, 2023 01:19
ipam/azure.go Outdated
httpClient := common.InitHttpClient(httpConnectionTimeout, responseHeaderTimeout)
if httpClient == nil {
log.Errorf("[ipam] Failed intializing http client")
logger.Info("Failed intializing http client")
Copy link
Contributor

Choose a reason for hiding this comment

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

logger.Error ?

ipam/azure.go Outdated

if resp.StatusCode != http.StatusOK {
log.Errorf("[ipam] http return error code for wireserver call %+v", resp)
logger.Info("http return error code for wireserver call", zap.Any("response", resp))
Copy link
Contributor

Choose a reason for hiding this comment

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

logger.Error ?

@paulyufan2 paulyufan2 merged commit 95cade1 into master Oct 28, 2023
@paulyufan2 paulyufan2 deleted the acnipamzaplogger branch October 28, 2023 04:38
@paulyufan2 paulyufan2 mentioned this pull request Nov 6, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cni Related to CNI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants