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

exec in container #152

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

exec in container #152

wants to merge 1 commit into from

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

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
@@ -5,7 +5,7 @@
<groupId>com.aliyun</groupId>
<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了

@@ -49,8 +53,7 @@
private final DefaultFcClient client;
private final Config config;

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