-
Notifications
You must be signed in to change notification settings - Fork 249
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
代码规范:user-manager lint #2662
代码规范:user-manager lint #2662
Conversation
@@ -56,7 +55,8 @@ func Test_GetRandomServiceInstance(t *testing.T) { | |||
|
|||
node, err := sd.GetRandomServiceInstance() | |||
if err != nil { | |||
t.Fatalf("GetRandomServiceInstance failed: %v", err) |
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.
这里不用修改吧
package encrypt | ||
|
||
import ( | ||
"bytes" | ||
"crypto/cipher" | ||
|
||
// NOCC:gas/crypto(设计如此) |
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.
这里不需要删除
@@ -65,13 +64,11 @@ func RetryWithTimeout(fn func() error, opts ...RetryOption) error { | |||
err = fn() | |||
}() | |||
|
|||
select { |
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.
不做修改
select { | ||
case <-ticker.C: | ||
} | ||
<-ticker.C |
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.
不做修改
* github-bk-bcs/master: 代码规范:user-manager lint (#2662) 修复bcs-ui 目录下代码遵循规范 (#2657) 代码规范:netservice lint (#2651) 代码规范:storage lint (#2650) nodegroup lint (#2652) bcs-common pkg目录下遵循代码规范 (#2661) bcs-log-manager、 bcs-kube-agent、 bcs-k8s-watch、bcs-helm-manager规范修改 (#2663) update: 前端添加eslint规范 (#2664) 修复bcs-common common目录下遵循代码规范 (#2659) bcs-cluster-manger规范修改 (#2658) bcs-cli、bcs-client、bcs-data-manager、bcs-gateway-discovery规范修改 (#2654) feat: 配置模板侧边栏拖拽 (#2660)
No description provided.