Skip to content

Commit be55378

Browse files
committed
google: fix resets of timeout & runtime
1 parent 1b5fe22 commit be55378

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

deployer/google/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,9 @@ async function _updateGoogle(signedUploadUrl, options) {
115115
// },
116116
sourceUploadUrl: signedUploadUrl,
117117
},
118-
// POSITIVE SPECIFY, ie specify all fields that shall be updated)
119-
// if it's null, it resets all other fields :/
118+
// Empty array to not overwrite 'timeout' or 'runtime'
120119
updateMask: {
121-
paths: ['timeout', 'runtime'],
120+
paths: [],
122121
},
123122
}
124123
const res = await client.updateFunction(updateOptions)

0 commit comments

Comments
 (0)