Skip to content

Conversation

@kerolasa
Copy link

  • DNS-12599: avoid failing upgrade due to initWD being empty

    When an initial working directory fails to populate upgrades will fail even
    when user supplied pid file is defined. This change fixes the issue.

    Signed-off-by: Sami Kerola [email protected]

  • chore: do not use deprecated ioutls package

    Reference: https://pkg.go.dev/io/ioutil
    Signed-off-by: Sami Kerola [email protected]

  • chore: vendor update 2026-01-13

    Signed-off-by: Sami Kerola [email protected]

When an initial working directory fails to populate upgrades will fail even
when user supplied pid file is defined.  This change fixes the issue.

Signed-off-by: Sami Kerola <[email protected]>
The build failed with following message.

    Run test -z "$(gofmt -l ./ | tee /dev/stderr)"
    doc.go
    Error: Process completed with exit code 1.F

Signed-off-by: Sami Kerola <[email protected]>
dir = initialWD
wd, err := os.Getwd()
if err != nil {
return err
Copy link

Choose a reason for hiding this comment

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

Does this need fmt.Errorf(), wrapping the error with some context about the failure point ?

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.

2 participants