Skip to content

Commit 87ce1ee

Browse files
author
Remy MACHAVOINE
committed
lint
1 parent 97bd354 commit 87ce1ee

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ functions:
179179
input:
180180
key-a: "value-a"
181181
key-b: "value-b"
182-
182+
183183
# ID of the private network to attach the function to
184184
privateNetworkId: "3fd741d4-f686-4afc-bcea-d720c695748f"
185185
```

deploy/lib/createContainers.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ module.exports = {
179179

180180
async updateSingleContainer(container, foundContainer) {
181181
let privateNetworkId = container.privateNetworkId;
182-
const hasToDeletePrivateNetwork = foundContainer.private_network_id && !container.privateNetworkId;
182+
const hasToDeletePrivateNetwork =
183+
foundContainer.private_network_id && !container.privateNetworkId;
183184
if (hasToDeletePrivateNetwork) {
184185
privateNetworkId = "";
185186
}

deploy/lib/createFunctions.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,8 @@ Runtime lifecycle doc : https://www.scaleway.com/en/docs/compute/functions/refer
210210

211211
async updateSingleFunction(func, foundFunc) {
212212
let privateNetworkId = func.privateNetworkId;
213-
const hasToDeletePrivateNetwork = foundFunc.private_network_id && !func.privateNetworkId;
213+
const hasToDeletePrivateNetwork =
214+
foundFunc.private_network_id && !func.privateNetworkId;
214215
if (hasToDeletePrivateNetwork) {
215216
privateNetworkId = "";
216217
}

0 commit comments

Comments
 (0)