mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 09:51:47 +02:00
Use camelCase.
This commit is contained in:
committed by
Murat Kabilov
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{}
|
||||
|
||||
Reference in New Issue
Block a user