Skip to content

Commit

Permalink
Fixed the spec update issue in kubeflow#795 (kubeflow#804)
Browse files Browse the repository at this point in the history
  • Loading branch information
liyinan926 authored and breetasinha1109 committed Mar 31, 2020
1 parent 019e759 commit ed0310d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/sparkapplication/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ func (c *Controller) submitSparkApplication(app *v1beta2.SparkApplication) *v1be
v1beta2.SetSparkApplicationDefaults(app)

if app.PrometheusMonitoringEnabled() {
if err := configPrometheusMonitoring(app, c.kubeClient); err != nil {
if err := configPrometheusMonitoring(appCopy, c.kubeClient); err != nil {
glog.Error(err)
}
}
Expand Down

0 comments on commit ed0310d

Please sign in to comment.