feature: [Marathon SD] make linter happy

This commit is contained in:
Jiekun 2024-10-14 15:38:08 +08:00
parent b555d94d1a
commit a28c3a5afa
No known key found for this signature in database
GPG key ID: 4674A8E5B0AAF6CE

View file

@ -74,6 +74,7 @@ func (app app) isContainerNet() bool {
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) {
c := ac.cs[rand.Intn(len(ac.cs))]