mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
feature: [Marathon SD] make linter happy
This commit is contained in:
parent
b555d94d1a
commit
a28c3a5afa
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ func (app app) isContainerNet() bool {
|
||||||
return len(app.Networks) > 0 && app.Networks[0].Mode == "container"
|
return len(app.Networks) > 0 && app.Networks[0].Mode == "container"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// GetAppsList randomly choose a server from the `servers` and get the list of running applications.
|
||||||
func GetAppsList(ac *apiConfig) (*AppList, error) {
|
func GetAppsList(ac *apiConfig) (*AppList, error) {
|
||||||
c := ac.cs[rand.Intn(len(ac.cs))]
|
c := ac.cs[rand.Intn(len(ac.cs))]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue