mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 13:25:26 +02:00
fix(app): add github action for linting and formatting [EE-2344] (#6356)
This commit is contained in:
parent
34cc8ea96a
commit
1b1a50d6b5
313 changed files with 2685 additions and 3873 deletions
|
@ -554,9 +554,9 @@ Cypress.Commands.add('modifyResource', (location, action, resourceType, resource
|
|||
// Method for modifying all resources in an endpoint with the default names
|
||||
Cypress.Commands.add('modifyResources', (location, action) => {
|
||||
const associatedResources = {
|
||||
'1': ['Stack', 'Container', 'Network', 'Volume'],
|
||||
'2': ['Stack', 'Service', 'Container', 'Network', 'Volume', 'Config', 'Secret'],
|
||||
'3': ['Application'],
|
||||
1: ['Stack', 'Container', 'Network', 'Volume'],
|
||||
2: ['Stack', 'Service', 'Container', 'Network', 'Volume', 'Config', 'Secret'],
|
||||
3: ['Application'],
|
||||
};
|
||||
for (var res in associatedResources[ACTIVE_ENDPOINT_TYPE]) {
|
||||
let resource = associatedResources[ACTIVE_ENDPOINT_TYPE][res];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue