Use camelCase.
This commit is contained in:
parent
38bc9da25a
commit
e5e0e3a148
|
|
@ -31,10 +31,10 @@ type Options struct {
|
|||
KubeConfig string
|
||||
}
|
||||
|
||||
func KubernetesConfig(options Options) (config *rest.Config, is_in_cluster bool) {
|
||||
func KubernetesConfig(options Options) (config *rest.Config, isInCluster bool) {
|
||||
var err error
|
||||
is_in_cluster = (options.KubeConfig == "")
|
||||
if !is_in_cluster {
|
||||
isInCluster = (options.KubeConfig == "")
|
||||
if !isInCluster {
|
||||
/* out-of-cluster process */
|
||||
rules := clientcmd.NewDefaultClientConfigLoadingRules()
|
||||
overrides := &clientcmd.ConfigOverrides{}
|
||||
|
|
|
|||
Loading…
Reference in New Issue