Skip to content

[Refactor] Reorder the method argument ordering in pkg/cmd#1900

Merged
AkihiroSuda merged 1 commit into
containerd:mainfrom
Zheaoli:manjusaka/reorder-argument
Jan 23, 2023
Merged

[Refactor] Reorder the method argument ordering in pkg/cmd#1900
AkihiroSuda merged 1 commit into
containerd:mainfrom
Zheaoli:manjusaka/reorder-argument

Conversation

@Zheaoli
Copy link
Copy Markdown
Member

@Zheaoli Zheaoli commented Jan 21, 2023

Fix #1889

Signed-off-by: Zheao.Li me@manjusaka.me

@Zheaoli Zheaoli marked this pull request as draft January 21, 2023 15:48
@Zheaoli Zheaoli force-pushed the manjusaka/reorder-argument branch 2 times, most recently from 26318f7 to b1c92d9 Compare January 21, 2023 15:53
@Zheaoli Zheaoli force-pushed the manjusaka/reorder-argument branch from b1c92d9 to 5604394 Compare January 22, 2023 15:16
@Zheaoli Zheaoli marked this pull request as ready for review January 22, 2023 15:56
@Zheaoli Zheaoli force-pushed the manjusaka/reorder-argument branch 5 times, most recently from 9614b41 to 476e2bd Compare January 22, 2023 16:54
Copy link
Copy Markdown
Member

@djdongjin djdongjin left a comment

Choose a reason for hiding this comment

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

Changes in pkg/* packages (except pkg/api and pkg/cmd) seems unexpected. Can you revert these changes?

Comment thread cmd/nerdctl/namespace_rm.go Outdated
Comment thread cmd/nerdctl/network_rm.go Outdated
Comment thread cmd/nerdctl/volume_inspect.go Outdated
Comment thread pkg/cmd/apparmor/list_linux.go Outdated
Comment thread pkg/cmd/network/list.go Outdated
Comment thread pkg/logging/log_viewer.go Outdated
Comment thread pkg/mountutil/mountutil_freebsd.go Outdated
Comment thread pkg/mountutil/mountutil_linux.go Outdated
Comment thread pkg/mountutil/mountutil_linux.go Outdated
Comment thread pkg/mountutil/mountutil_linux_test.go Outdated
@Zheaoli Zheaoli force-pushed the manjusaka/reorder-argument branch 3 times, most recently from c2e57b0 to b465406 Compare January 22, 2023 19:14
@Zheaoli Zheaoli requested a review from djdongjin January 22, 2023 19:15
Copy link
Copy Markdown
Member

@djdongjin djdongjin left a comment

Choose a reason for hiding this comment

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

LGTM aside from 2 minor changes, thanks

Comment thread pkg/composer/port.go Outdated
Comment thread pkg/composer/rm.go Outdated
@AkihiroSuda AkihiroSuda added this to the v1.2.0 milestone Jan 22, 2023
Comment thread cmd/nerdctl/build.go Outdated
Comment thread cmd/nerdctl/run.go Outdated
Comment thread pkg/api/types/build_types.go Outdated
Comment thread pkg/api/types/info_types.go Outdated
Comment thread pkg/api/types/load_types.go Outdated
Comment thread pkg/api/types/pull_types.go Outdated
Comment thread pkg/cmd/builder/build.go
@Zheaoli Zheaoli force-pushed the manjusaka/reorder-argument branch from b465406 to 9003cf2 Compare January 23, 2023 03:47
Signed-off-by: Zheao.Li <me@manjusaka.me>
@Zheaoli Zheaoli force-pushed the manjusaka/reorder-argument branch from 9003cf2 to 1316fd2 Compare January 23, 2023 03:50
@Zheaoli Zheaoli requested a review from AkihiroSuda January 23, 2023 03:51
Copy link
Copy Markdown
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

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

Thanks

@AkihiroSuda AkihiroSuda merged commit b7630b4 into containerd:main Jan 23, 2023
@Zheaoli Zheaoli deleted the manjusaka/reorder-argument branch January 23, 2023 08:25
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.

pkg/cmd: inconsistent arguments ordering

3 participants