Skip to content

Commit 1c6bc2b

Browse files
committed
fix linting
1 parent e19b5d7 commit 1c6bc2b

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

wrongsecrets-balancer/src/kubernetes.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1816,17 +1816,13 @@ const createRoleForWebTop = async (team) => {
18161816
apiGroups: [''],
18171817
resources: ['pods/exec'],
18181818
verbs: ['create'],
1819-
resourceNames: [
1820-
`t-${team}-secret-challenge-53*`,
1821-
],
1819+
resourceNames: [`t-${team}-secret-challenge-53*`],
18221820
},
18231821
{
18241822
apiGroups: [''],
18251823
resources: ['pods'],
18261824
verbs: ['patch', 'update'],
1827-
resourceNames: [
1828-
`t-${team}-secret-challenge-53*`,
1829-
],
1825+
resourceNames: [`t-${team}-secret-challenge-53*`],
18301826
},
18311827
{
18321828
apiGroups: [''],

wrongsecrets-balancer/src/teams/teams.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ test('create team creates a instance for team via k8s service', async () => {
144144
throw new Error(`deployments.apps "t-team42-wrongsecrets" not found`);
145145
});
146146

147-
// Add mock for Challenge 53 deployment
147+
// Add mock for Challenge 53 deployment
148148
createK8sChallenge53DeploymentForTeam.mockImplementation(async () => {
149149
return {
150150
body: {

0 commit comments

Comments
 (0)