File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class ScalewayProvider {
4343
4444 return new BbPromise ( ( resolve ) => {
4545 this . setCredentials ( options ) ;
46-
46+
4747 this . apiUrl = 'https://api.scaleway.com/functions/v1alpha2/regions/fr-par' ;
4848 this . apiManager = axios . create ( {
4949 baseURL : this . apiUrl ,
Original file line number Diff line number Diff line change @@ -77,6 +77,13 @@ module.exports = {
7777 functionErrors . push ( `Runtime ${ this . runtime } is not supported. Function runtime must be one of the following: ${ availableRuntimesMessage } ` ) ;
7878 }
7979
80+ let functionErrors = [ ] ;
81+ let containers = [ ] ;
82+
83+ const functions = this . serverless . service . functions ;
84+ if ( functions && Object . keys ( functions ) . length !== 0 ) {
85+ functionNames = Object . keys ( functions ) ;
86+
8087 functionNames . forEach ( ( functionName ) => {
8188 const func = functions [ functionName ] ;
8289 // Check if function handler exists
You can’t perform that action at this time.
0 commit comments