-
Notifications
You must be signed in to change notification settings - Fork 25
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
base: master
Are you sure you want to change the base?
exec in container #152
Conversation
|
8a055c3
to
47fcf38
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
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"); |
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.
改回来?
return execWebsocket; | ||
} | ||
|
||
public void setCallback(ExecCallback callback) { |
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.
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> |
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.
版本改成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) { |
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.
这些diff应该是IDE格式化代码引入的,保持原有的代码格式不要改动吧
9ebe0a9
to
6e3863d
Compare
No description provided.