Skip to content

Commit

Permalink
fix: hound
Browse files Browse the repository at this point in the history
Signed-off-by: James Rawlings <[email protected]>
  • Loading branch information
rawlingsj authored and jenkins-x-bot committed Jan 28, 2020
1 parent be16e3a commit b9b04c8
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"files": "^pkg/jenkins/test_data/update_center.json.*$|^.secrets.baseline$|^.*test.*$",
"lines": null
},
"generated_at": "2020-01-25T11:13:56Z",
"generated_at": "2020-01-28T15:05:40Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
Expand Down Expand Up @@ -617,19 +617,19 @@
{
"hashed_secret": "1e19e4d6d1eb8cb66792e6d3227024d4238e3b4b",
"is_secret": false,
"line_number": 177,
"line_number": 214,
"type": "Secret Keyword"
},
{
"hashed_secret": "ed897c1a77efb394bfcb3f43425302dba582d8a6",
"is_secret": false,
"line_number": 362,
"line_number": 399,
"type": "Secret Keyword"
},
{
"hashed_secret": "f118aa0c3670bd43cb9b54ca0e6a73c43440a1ed",
"is_secret": false,
"line_number": 500,
"line_number": 537,
"type": "Secret Keyword"
}
],
Expand Down
8 changes: 5 additions & 3 deletions pkg/cmd/experimental/experimental.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package experimental

import (
"fmt"
"strings"

"github.com/jenkins-x/jx/pkg/util"
Expand Down Expand Up @@ -30,7 +31,7 @@ type info struct {
func AlphaCommands(cmd *cobra.Command) {
path := commandPath(cmd)
if alpha, ok := alphaCommands[path]; ok {
msg := "Alpha command, expect this to change or be removed"
msg := fmt.Sprintf("Alpha command, expect this to change or be removed, created: %s", alpha.createdDate)
cmd.Short = util.ColorWarning(msg)

cmd.Long = util.ColorWarning(msg + "\n" + alpha.info)
Expand All @@ -48,8 +49,9 @@ func AlphaCommands(cmd *cobra.Command) {
func BetaCommands(cmd *cobra.Command) {
path := commandPath(cmd)
if beta, ok := betaCommands[path]; ok {
cmd.Short = "Beta command, still experimental but maturing towards being GA"
cmd.Long = beta.info
msg := fmt.Sprintf("Beta command, still experimental but maturing towards being GA, created: %s", beta.createdDate)
cmd.Short = util.ColorWarning(msg)
cmd.Long = util.ColorWarning(msg + "\n" + beta.info)
}
if !cmd.HasSubCommands() {
return
Expand Down
37 changes: 37 additions & 0 deletions pkg/config/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b9b04c8

Please sign in to comment.