-
Notifications
You must be signed in to change notification settings - Fork 8
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
[Task] VX-271: Log handler which responses the logs of the containers #258
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #258 +/- ##
===========================================
- Coverage 79.41% 78.77% -0.65%
===========================================
Files 55 58 +3
Lines 3027 3232 +205
===========================================
+ Hits 2404 2546 +142
- Misses 469 523 +54
- Partials 154 163 +9
Continue to review full report at Codecov.
|
|
||
result, err := container.GetLogDetails(sp, namespace, podID, containerID, logSelector, usePreviousLogs) | ||
if err != nil { | ||
fmt.Errorf("failed to get the details of node: %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.
should response 500 here
src/kubernetes/containers.go
Outdated
) | ||
|
||
// GetContainer will get the container object by the container name | ||
func (kc *KubeCtl) GetContainer(name string, podname string, namespace string) (*corev1.Container, 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.
This function seems not to be used?
6c5ba9f
to
6f86cba
Compare
No description provided.