-
Notifications
You must be signed in to change notification settings - Fork 137
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
support mps flow resource #2192
Conversation
tencentcloud/resource_tc_mps_flow.go
Outdated
return err | ||
} | ||
|
||
flowId = *response.Response.Info.FlowId |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
response.Response.Info可能为nil吗
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
有可能的。但是这种情况比较少了。前面逻辑会判断err的,如果请求有问题,会通过error报错;如果请求正常,但是这个返回值没有填写,这种情况比较少了。所以一般不去做校验了。
我加一下判断。
d4d5262
to
c52fe98
Compare
c52fe98
to
3c51fdd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
tencentcloud_mps_flow
tencentcloud_mps_event
tencentcloud_mps_start_flow_operation(文档暂不暴露)