Skip to content

Rename cmdutils.ResourceCmd to cmdutils.Cmd#1127

Merged
errordeveloper merged 1 commit intomasterfrom
rename-resourcecmd
Aug 9, 2019
Merged

Rename cmdutils.ResourceCmd to cmdutils.Cmd#1127
errordeveloper merged 1 commit intomasterfrom
rename-resourcecmd

Conversation

@errordeveloper
Copy link
Contributor

Description

Checklist

  • Code compiles correctly (i.e make build)
  • All unit tests passing (i.e. make test)

@errordeveloper errordeveloper changed the title Rename resourcecmd Rename cmdutils.ResourceCmd to cmdutils.Cmd Aug 9, 2019
@errordeveloper
Copy link
Contributor Author

This is on top of #1124, I will rebase once it gets merged.

@errordeveloper errordeveloper force-pushed the rename-resourcecmd branch 2 times, most recently from 69a6b10 to 5168b97 Compare August 9, 2019 09:24
@errordeveloper errordeveloper marked this pull request as ready for review August 9, 2019 09:25
// Cmd holds attributes that are common between commands;
// not all commands use each attribute, but but they can if needed
type Cmd struct {
CobraCommand *cobra.Command
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've changed this to avoid ambiguity, otherwise it'd be cmd.Command...

Copy link
Contributor

@cPu1 cPu1 left a comment

Choose a reason for hiding this comment

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

LGTM!

@errordeveloper errordeveloper merged commit ed8da92 into master Aug 9, 2019
@errordeveloper errordeveloper deleted the rename-resourcecmd branch August 9, 2019 13:58
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