File tree 1 file changed +0
-3
lines changed
1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,6 @@ func (c *K8s) DeploymentsParse(*kingpin.ParseContext) error {
146
146
// The input is a slice of structs containing the filename and the slice of k8s objects present in the file.
147
147
func (c * K8s ) ResourceApply (deployments []Resource ) error {
148
148
var err error
149
-
150
149
err = provider .CreateGrafanaDashboardsConfigMap ()
151
150
if err != nil {
152
151
return fmt .Errorf ("error applying grafana dashboards config err:%v" , err )
@@ -202,9 +201,7 @@ func (c *K8s) ResourceApply(deployments []Resource) error {
202
201
// ResourceDelete deletes k8s objects.
203
202
// The input is a slice of structs containing the filename and the slice of k8s objects present in the file.
204
203
func (c * K8s ) ResourceDelete (deployments []Resource ) error {
205
-
206
204
var err error
207
-
208
205
err = provider .DeleteGrafanaDashboardsConfigMap ()
209
206
if err != nil {
210
207
return fmt .Errorf ("error deleting grafana dashboards config err:%v" , err )
You can’t perform that action at this time.
0 commit comments