diff --git a/__tests__/it/integration_test.ts b/__tests__/it/integration_test.ts index 2888a89..67439b8 100644 --- a/__tests__/it/integration_test.ts +++ b/__tests__/it/integration_test.ts @@ -76,6 +76,7 @@ describe('Integration Tests', () => { expect(output).toEqual({ region: process.env.REGION || 'cn-huhehaote', description: 'hello world by serverless devs', + functionArn: 'acs:fc:cn-huhehaote:1431999136518149:functions/start-py', functionName: 'start-py', handler: 'index.handler', internetAccess: true, @@ -107,6 +108,7 @@ describe('Integration Tests', () => { expect(output).toEqual({ region: process.env.REGION || 'cn-huhehaote', description: 'hello world by serverless devs', + functionArn: 'acs:fc:cn-huhehaote:1431999136518149:functions/start-py', functionName: 'start-py', handler: 'index.handler', internetAccess: true, diff --git a/src/resources/fc/index.ts b/src/resources/fc/index.ts index 5fd5881..650dca1 100644 --- a/src/resources/fc/index.ts +++ b/src/resources/fc/index.ts @@ -421,7 +421,6 @@ export default class FC extends FC_Client { 'createdTime', 'codeSize', 'codeChecksum', - 'functionArn', 'useSLRAuthentication', ]); logger.debug(`Result body: ${JSON.stringify(r)}`);