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

StoreConfig always initializes the account if it is missing #3844

Merged
merged 4 commits into from
Sep 3, 2018

Conversation

geraldcroes
Copy link
Contributor

@geraldcroes geraldcroes commented Aug 31, 2018

What does this PR do?

The StoreConfig command will now always initialize the account (which key path is defined by acme.storage) if it is not yet initialized.

Motivation

Related #3787 #3776
Fixes #3754

@traefiker traefiker added this to the 1.7 milestone Aug 31, 2018
@nmengin nmengin added priority/P2 need to be fixed in the future kind/bug/fix a bug fix area/cluster and removed status/0-needs-triage labels Aug 31, 2018
@ldez ldez added status/2-needs-review and removed priority/P2 need to be fixed in the future labels Aug 31, 2018
if err != nil {
return false, err
}
return len(list) > 0, nil
Copy link
Member

Choose a reason for hiding this comment

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

Could you please add a new line before?

Copy link
Contributor

@nmengin nmengin left a comment

Choose a reason for hiding this comment

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

LGTM 👍

F*** the empty lines!!!! 😉

@ace03uec

This comment has been minimized.

Copy link
Member

@mmatur mmatur left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@ldez ldez left a comment

Choose a reason for hiding this comment

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

LGTM

@traefiker traefiker merged commit e4bb506 into traefik:v1.7 Sep 3, 2018
@ldez ldez deleted the fix/acme-init-account branch September 3, 2018 08:14
@juliens juliens changed the title StoreConfig always initializes the account if it is missing StoreConfig always initializes the account if it is missing Sep 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants