Skip to content

Commit

Permalink
Update deploy --skip-drain flag description
Browse files Browse the repository at this point in the history
[#130417399]

Signed-off-by: Danny Berger <[email protected]>
  • Loading branch information
tjvman authored and dpb587-pivotal committed Nov 19, 2016
1 parent 4dde2fa commit a1fad14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/opts.go
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ type DeployOpts struct {

Recreate bool `long:"recreate" description:"Recreate all VMs in deployment"`
Fix bool `long:"fix" description:"Recreate unresponsive instances"`
SkipDrain []boshdir.SkipDrain `long:"skip-drain" value-name:"JOB-NAME" description:"Skip running drain scripts for specific jobs" optional:"true" optional-value:"*"`

This comment has been minimized.

Copy link
@dpb587-pivotal

dpb587-pivotal Nov 21, 2016

Contributor

Aw, indentation of earlier opts were not adjusted.

SkipDrain []boshdir.SkipDrain `long:"skip-drain" value-name:"INSTANCE-GROUP" description:"Skip running drain scripts for specific instance groups" optional:"true" optional-value:"*"`

Canaries string `long:"canaries" description:"Override manifest values for canaries"`
MaxInFlight string `long:"max-in-flight" description:"Override manifest values for max_in_flight"`
Expand Down
2 changes: 1 addition & 1 deletion cmd/opts_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@ var _ = Describe("Opts", func() {
Describe("SkipDrain", func() {
It("contains desired values", func() {
Expect(getStructTagForName("SkipDrain", opts)).To(Equal(
`long:"skip-drain" value-name:"JOB-NAME" description:"Skip running drain scripts for specific jobs" optional:"true" optional-value:"*"`,
`long:"skip-drain" value-name:"INSTANCE-GROUP" description:"Skip running drain scripts for specific instance groups" optional:"true" optional-value:"*"`,
))
})
})
Expand Down

0 comments on commit a1fad14

Please sign in to comment.