Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
weiby3 opened this issue Mar 8, 2022 · 0 comments
Open

Comments

@weiby3
Copy link

weiby3 commented Mar 8, 2022

用的是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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant