-
Notifications
You must be signed in to change notification settings - Fork 159
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
File sync for envd-server #1352
Conversation
Signed-off-by: AlexXi19 <[email protected]>
Signed-off-by: AlexXi19 <[email protected]>
Signed-off-by: AlexXi19 <[email protected]>
Signed-off-by: AlexXi19 <[email protected]>
Signed-off-by: AlexXi19 <[email protected]>
Signed-off-by: AlexXi19 <[email protected]>
Signed-off-by: AlexXi19 <[email protected]>
Signed-off-by: AlexXi19 <[email protected]>
Signed-off-by: AlexXi19 <[email protected]>
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.
The client part seems need more discussions
) | ||
|
||
// Makes API calls to the syncthing instance | ||
func (s *Syncthing) ApiCall(method string, url string, params map[string]string, body []byte) ([]byte, error) { |
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.
Is this code borrowed from other repo? Please keep license head if so.
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.
Also the client style is not consistent with our current HTTP client
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.
Ok, yeah this is borrowed for now, I was going to ask you about the http client after you wake up.
Draft pull request for tensorchord/envd-server#102