sort oc projects alphabetically#9675
Conversation
|
@fabianofranz @Kargakis Could you take a look please? |
|
[test] |
|
LGTM [merge] |
|
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/5734/) (Image: devenv-rhel7_4511) |
|
Evaluated for origin merge up to 3286bfd |
|
flake re[test] |
|
Evaluated for origin test up to 3286bfd |
|
continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/5706/) |
|
[merge] |
| var currentProjectExists bool = false | ||
| var currentProjectErr error = nil | ||
| var currentProjectExists bool | ||
| var currentProjectErr error |
There was a problem hiding this comment.
Just for the future, prefer using: currentProjectExists := nil than this, because it immediately gives you the default value of a variable and it's less typing ;) Besides if you have two or more vars use block declaration:
var (
currentProjectExists bool
currentProjectErr error
)
There was a problem hiding this comment.
currentProjectExists := nil
Won't this throw an error or something?
There was a problem hiding this comment.
True it will, since it does not know the type. My bad.
Fixes #9667