Skip to content

invoke和logs命令没有读取serverless.yaml里面的命名空间 #95

@weiby3

Description

@weiby3

用的是scf-golang示例

sls --version
Framework Core: 3.7.1
Plugin: 6.1.5
SDK: 4.3.2
Tencent CLI: 3.20.3 (binary)

直接sls invoke的话会报

Serverless: 无法找到指定 SCF 实例,请检查 SCF 实例名称和 Stage / Region 信息或重新部署后调用

手动增加命名空间选项后正常
sls invoke --namespace xxx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions