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

fix(requestid): fix condition for setting default value of ContextKey… #2731

Closed
wants to merge 1 commit into from

Commits on Nov 18, 2023

  1. fix(requestid): fix condition for setting default value of ContextKey…

    … in configDefault function
    
    The condition for setting the default value of ContextKey in the configDefault function has been fixed. Previously, it only checked if cfg.ContextKey was an empty string, but now it also checks if it is nil. This ensures that the default value is set correctly even if cfg.ContextKey is not explicitly provided.
    gopkg-dev committed Nov 18, 2023
    Configuration menu
    Copy the full SHA
    8eeb8b4 View commit details
    Browse the repository at this point in the history