Skip to content

exec in container#152

Open
OhYee wants to merge 1 commit intoaliyun:masterfrom
OhYee:container-exec
Open

exec in container#152
OhYee wants to merge 1 commit intoaliyun:masterfrom
OhYee:container-exec

Conversation

@OhYee
Copy link

@OhYee OhYee commented Nov 19, 2021

No description provided.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link

@halegreen halegreen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

System.out.println(region);
Preconditions.checkArgument(!Strings.isNullOrEmpty(region), "Region cannot be blank");
Preconditions.checkArgument(region.matches(REGION_PATTERN), "Illegal region");
// Preconditions.checkArgument(region.matches(REGION_PATTERN), "Illegal region");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

改回来?

return execWebsocket;
}

public void setCallback(ExecCallback callback) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

java 里面为啥是InstanceExecResponse 里面 setCallback,而不是 instanceExec 的时候 withCallbakc()
行为和 nodejs, golang 一致?

pom.xml Outdated
<artifactId>aliyun-java-sdk-fc</artifactId>
<packaging>jar</packaging>
<version>1.8.24</version>
<version>1.8.26</version>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

版本改成1.8.31,现在master已经是1.8.30了


public FunctionComputeClient(String region, String uid, String accessKeyId,
String accessKeySecret) {
public FunctionComputeClient(String region, String uid, String accessKeyId, String accessKeySecret) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这些diff应该是IDE格式化代码引入的,保持原有的代码格式不要改动吧

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

Successfully merging this pull request may close these issues.

4 participants