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

Convert %w verb in t.Errorf function to %v #431

Merged
merged 1 commit into from Jan 21, 2022

Commits on Jan 14, 2022

  1. Convert %w verb in t.Errorf function to %v

    Go 1.18 introduced a change where only fmt.Errorf function accepts the %w verb.
    Other Errorf function like t.Errorf do not accept it anymore.
    
    See golang/go#47641
    
    Fix: prometheus#430
    
    Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
    eclipseo committed Jan 14, 2022
    Copy the full SHA
    25d5e4c View commit details
    Browse the repository at this point in the history