Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function createPod(environment = 'production') {
return new Pod({
metadata: {
name: 'test-pod',
},
spec: {
containers: [
new Container({
name: 'test-container',
image: 'nginx',
env: [{ name: 'ENV', value: environment }],
}),
],
},
})
}
function createPod(environment = 'production') {
return new Pod({
metadata: {
name: 'test-pod',
},
spec: {
containers: [
new Container({
name: 'test-container',
image: 'nginx',
env: [{ name: 'ENV', value: environment }],
}),
],
},
})
}