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

ref: return multi-error from moveChannelCmdF #570

Merged
merged 1 commit into from
Nov 15, 2022

Conversation

s4kh
Copy link
Contributor

@s4kh s4kh commented Oct 9, 2022

Summary

Returns multi error instead of printing and returning nil

Ticket Link

Fixes mattermost/mattermost#21214

@mattermod
Copy link
Contributor

Hello @s4kh,

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.

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 for the contribution @s4kh I commented on things that needs to be addressed.

commands/channel.go Outdated Show resolved Hide resolved
commands/channel_e2e_test.go Outdated Show resolved Hide resolved
commands/channel_test.go Outdated Show resolved Hide resolved
@mattermod
Copy link
Contributor

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

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.

Thank you very much for your contribution @s4kh and apologies for the delay. The code looks good. I've suggested a few minor changes in the tests.

commands/channel_e2e_test.go Outdated Show resolved Hide resolved
commands/channel_e2e_test.go Outdated Show resolved Hide resolved
commands/channel_test.go Outdated Show resolved Hide resolved
commands/channel_test.go Outdated Show resolved Hide resolved
commands/channel_test.go Outdated Show resolved Hide resolved
@noxer noxer added 2: Dev Review Requires review by a core committer and removed Lifecycle/1:stale labels Oct 31, 2022
@s4kh s4kh requested review from noxer and isacikgoz and removed request for isacikgoz and noxer October 31, 2022 16:52
@mattermod
Copy link
Contributor

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

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.

Looks good, thank you very much @s4kh 🎉

@s4kh s4kh requested a review from isacikgoz November 15, 2022 07:49
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.

LGTM, thanks @s4kh 🎉

@isacikgoz isacikgoz added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core committer labels Nov 15, 2022
@isacikgoz isacikgoz merged commit 676a440 into mattermost:master Nov 15, 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.

mmctl: Review moveChannelCmdF function to return an error in case of a failure
4 participants