New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete a redundant arg and optimize some codes in the pkg/cmd/admin/registry/registry.go
#10474
Delete a redundant arg and optimize some codes in the pkg/cmd/admin/registry/registry.go
#10474
Conversation
04e9fad
to
5e53af5
Compare
/cc @smarterclayton Thanks! |
5e53af5
to
e2830cf
Compare
@smarterclayton Can this PR be merged? thanks! |
} | ||
|
||
secretEnv = app.Environment{ | ||
"OPENSHIFT_MASTER": config.Host, | ||
"OPENSHIFT_CA_DATA": string(config.CAData), | ||
"OPENSHIFT_KEY_DATA": string(config.KeyData), | ||
"OPENSHIFT_CERT_DATA": string(config.CertData), | ||
"OPENSHIFT_INSECURE": insecure, | ||
"OPENSHIFT_INSECURE": fmt.Sprintf("%v", config.Insecure), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would probably be better to use %t
here because we want Insecure to be flagged as a bool.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for review! @smarterclayton
Updated.
e2830cf
to
ef6ad21
Compare
LGTM [merge] thanks |
[Test]ing while waiting on the merge queue |
ef6ad21
to
6ac5580
Compare
6ac5580
to
876471e
Compare
876471e
to
72c1367
Compare
@smarterclayton This PR isn't merged still, could you please trigger another test and merge process? Thanks! |
[test] |
Evaluated for origin test up to 72c1367 |
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/10026/) (Base Commit: 66a729c) |
[merge]
|
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/10026/) (Image: devenv-rhel7_5179) |
Evaluated for origin merge up to 72c1367 |
namespace
in thegenerateSecretsConfig
, because it is not used.RunCmdRegistry
, make it more clean.