-
Notifications
You must be signed in to change notification settings - Fork 15
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
Rework client to use chain elements #15
Rework client to use chain elements #15
Conversation
5a46690
to
cad3186
Compare
881e985
to
56bfef7
Compare
effd8e7
to
d4adca8
Compare
122ee1c
to
296c0f4
Compare
8fd7cfa
to
f7dbef9
Compare
4d1e6bd
to
fb01e43
Compare
de8a546
to
11e7891
Compare
94274ef
to
6514139
Compare
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
6514139
to
2f40595
Compare
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
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.
Added few minor comments.
Will merge this when this repo will be updated by https://github.com/networkservicemesh/cmd-template (Waiting for PR networkservicemesh/cmd-template#45)
.golangci.yml
Outdated
@@ -169,3 +169,13 @@ issues: | |||
exclude-use-default: false | |||
max-issues-per-linter: 0 | |||
max-same-issues: 0 | |||
exclude-rules: |
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.
Probably we need to disable one of two linters if they are conflicted
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.
Yep, don't actually sure that sloppyReassign
is any useful, have disabled it.
main.go
Outdated
) | ||
|
||
const ( | ||
cleanupTimeout = 10 * time.Second |
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.
Can we use config.ConnectTimeout ?
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.
Yes, we can.
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
Issues:
kernel.NewClient()
,vfio.NewClient()
to add client chain elements, no need to duplicate such code.Solution: