|
47 | 47 | func DryRunCreate(objBytes []byte, namespace string) ([]byte, error) {
|
48 | 48 | config, err := GetKubeConfig()
|
49 | 49 | if err != nil {
|
50 |
| - return nil, fmt.Errorf("Error in getting K8s config; %s", err.Error()) |
| 50 | + return nil, fmt.Errorf("Error in getting k8s config; %s", err.Error()) |
51 | 51 | }
|
52 | 52 | dyClient, err := dynamic.NewForConfig(config)
|
53 | 53 | if err != nil {
|
@@ -88,7 +88,7 @@ func DryRunCreate(objBytes []byte, namespace string) ([]byte, error) {
|
88 | 88 | func StrategicMergePatch(objBytes, patchBytes []byte, namespace string) ([]byte, error) {
|
89 | 89 | config, err := GetKubeConfig()
|
90 | 90 | if err != nil {
|
91 |
| - return nil, fmt.Errorf("Error in getting K8s config; %s", err.Error()) |
| 91 | + return nil, fmt.Errorf("Error in getting k8s config; %s", err.Error()) |
92 | 92 | }
|
93 | 93 | dyClient, err := dynamic.NewForConfig(config)
|
94 | 94 | if err != nil {
|
@@ -144,7 +144,7 @@ func StrategicMergePatch(objBytes, patchBytes []byte, namespace string) ([]byte,
|
144 | 144 | func GetApplyPatchBytes(objBytes []byte, namespace string) ([]byte, []byte, error) {
|
145 | 145 | config, err := GetKubeConfig()
|
146 | 146 | if err != nil {
|
147 |
| - return nil, nil, fmt.Errorf("Error in getting K8s config; %s", err.Error()) |
| 147 | + return nil, nil, fmt.Errorf("Error in getting k8s config; %s", err.Error()) |
148 | 148 | }
|
149 | 149 | dyClient, err := dynamic.NewForConfig(config)
|
150 | 150 | if err != nil {
|
|
0 commit comments