-
Notifications
You must be signed in to change notification settings - Fork 554
feat: logs prev container #3469
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
Conversation
| TailLines int `json:"tailLines"` | ||
| Follow bool `json:"follow"` | ||
| ContainerName string `json:"containerName"` | ||
| PrevContainerLogs bool `json:"previous"` |
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.
By looking at variable name it does not strike as boolean value, please name it appropriately. maybe isPrevContainerLogsEnabled or any other name like this.
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.
done
util/k8s/k8sApplicationService.go
Outdated
| TailLines: tailLines, | ||
| Follow: follow, | ||
| ContainerName: containerName, | ||
| PrevContainerLogs: isPrevLogs, |
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.
change here accordingly
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.
done
|
SonarCloud Quality Gate failed.
|
…Event, Logs, Terminal) (#3200) * argocd rbac policy enforcement for kubelink * updated rbac for k8s resource * updated terminal rbac policy for helm app * removed deployment type * Updated TODO & ResourceValidation for devtron app * updated TODO * terminal rbac fixed * fixed cluster id bug for resource browser * fixed pod log bug * fix: deploymentType Validation condition * fix: Pod Logs Bug * feat: logs prev container (#3469) * minor-change * conditional break fixed * changing names * Updated latest image of hyperion in installer * Updated latest image of devtron in installer * Updated latest image of devtron in installer * Updated latest image of hyperion in installer * Updated latest image of hyperion in installer * Updated latest image of devtron in installer * fix: App delete from ACD with non cascade (#3339) * acd app delete with non-cascade * handled DeleteErrorResponse length error * added go routine * argo non-casecade delete for helm and devtron app * fix: api response for cluster connection error * fix: nil pointer for cluster details * fix: updated test interface for pipeline * fix: non-cascade delete condition * fix: forceDelete and cascadeDelete validation * fix: delete response for force delete req * fix: added clusterName to res * fix: added clusterName to cluster-conn api resp * fix: updated non-cascade api resp * fix: updated non-cascade api err return * fix: updated chart list delete bug * fix: installed app delete bug * fix: installed app noncascade delete bug * fix: helm release force delete * fix: appstore release force delete * fix: appstore deployment list response * fix: bulk delete deployment api condition * fixed typo and response message * fix: bulk delete cd pipeline api payload * fix: logger and conditional chain * updated wire * modifed cluster services * reverted to devtron chart values * reverted migrator changes * fix: deployment app type for internal use false --------- Co-authored-by: rish2320 <[email protected]> Co-authored-by: ReleaseBot <[email protected]>









Description
We will be able to see the logs of previous container.
Fixes #2882
How Has This Been Tested?
Tested all the cases manually.
Checklist: