Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Added maintenance mode to info endpoint (#7002)
Browse files Browse the repository at this point in the history
Added the config status of maintenance mode to info endpoint

JIRA issues: MARATHON-8660

(cherry picked from commit 80abdd7)
  • Loading branch information
ANeumann82 authored Jul 31, 2019
1 parent aff9407 commit 7fff91b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/scala/mesosphere/marathon/api/v2/InfoResource.scala
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ class InfoResource @Inject() (
"task_lost_expunge_initial_delay" -> config.taskLostExpungeInitialDelay.toMillis,
"task_lost_expunge_interval" -> config.taskLostExpungeInterval.toMillis,
"task_reservation_timeout" -> config.taskReservationTimeout.toOption,
"webui_url" -> config.webuiUrl.toOption
"webui_url" -> config.webuiUrl.toOption,
"maintenance_mode" -> config.maintenanceMode.toOption
)

// ZooKeeper congiurations
Expand Down

0 comments on commit 7fff91b

Please sign in to comment.