Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Refactored resetUserMfaCmdF to return multierror #598

Merged

Conversation

AntiGhot
Copy link
Contributor

Summary

Returns multi error instead of printing and returning nil

make build // success
make test // success
make test-e2e // success

Ticket Link

github : mattermost/mattermost#21467
JIRA: https://mattermost.atlassian.net/browse/MM-47819

@mattermod
Copy link
Contributor

Hello @AntiGhot,

Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

dependabot bot and others added 3 commits October 26, 2022 19:16
)

Bumps [github.com/hashicorp/memberlist](https://github.com/hashicorp/memberlist) from 0.3.1 to 0.5.0.
- [Release notes](https://github.com/hashicorp/memberlist/releases)
- [Commits](hashicorp/memberlist@v0.3.1...v0.5.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/memberlist
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@AntiGhot
Copy link
Contributor Author

@isacikgoz

Copy link
Contributor

@noxer noxer left a comment

Choose a reason for hiding this comment

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

Hi @AntiGhot, thank you very much for your contribution. I'd like to request one change. Otherwise the PR looks good.

commands/user.go Outdated Show resolved Hide resolved
AntiGhot and others added 3 commits October 27, 2022 18:18
using string interpolation while printing error

Co-authored-by: Tim Scheuermann <noxer@users.noreply.github.com>
@AntiGhot
Copy link
Contributor Author

@noxer review comments addressed

Copy link
Member

@isacikgoz isacikgoz left a comment

Choose a reason for hiding this comment

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

Thanks @AntiGhot LGTM 💙

Copy link
Contributor

@noxer noxer left a comment

Choose a reason for hiding this comment

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

Yes, perfect. Thank you @AntiGhot

@noxer noxer added the 4: Reviews Complete All reviewers have approved the pull request label Oct 28, 2022
@noxer noxer merged commit bb6ac6b into mattermost:master Oct 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
4: Reviews Complete All reviewers have approved the pull request Hacktoberfest hacktoberfest-accepted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants