mirror of
https://github.com/portainer/portainer.git
synced 2025-07-21 22:39:41 +02:00
chore(deps): upgrade eslint and use eslint-plugin (#4989)
This commit is contained in:
parent
5fd92d8a3f
commit
ab30793c48
12 changed files with 789 additions and 689 deletions
|
@ -14,13 +14,9 @@ class KubernetesStackService {
|
|||
* GET
|
||||
*/
|
||||
async getAllAsync(namespace) {
|
||||
try {
|
||||
const applications = await this.KubernetesApplicationService.get(namespace);
|
||||
const stacks = _.map(applications, (item) => item.StackName);
|
||||
return _.uniq(_.without(stacks, '-'));
|
||||
} catch (err) {
|
||||
throw err;
|
||||
}
|
||||
const applications = await this.KubernetesApplicationService.get(namespace);
|
||||
const stacks = _.map(applications, (item) => item.StackName);
|
||||
return _.uniq(_.without(stacks, '-'));
|
||||
}
|
||||
|
||||
get(namespace) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue