Skip to content
This repository has been archived by the owner on Jun 12, 2020. It is now read-only.

Commit

Permalink
fix: if deep equal grafana spec
Browse files Browse the repository at this point in the history
  • Loading branch information
stebenz committed Jan 7, 2020
1 parent 29bf4d8 commit 5805c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/v1beta1/crd/grafana/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (g *Grafana) Reconcile(overlay, specNamespace string, helm *template.Helm,
return err
}

if spec.Deploy || !reflect.DeepEqual(g.spec, spec) {
if spec.Deploy && !reflect.DeepEqual(g.spec, spec) {
if err := defaults.PrepareForResultOutput(defaults.GetResultFileDirectory(overlay, g.ApplicationDirectoryPath, applicationName)); err != nil {
return err
}
Expand Down

0 comments on commit 5805c15

Please sign in to comment.