-
Notifications
You must be signed in to change notification settings - Fork 60
removed ODO log command #4566
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
removed ODO log command #4566
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -430,26 +430,6 @@ export class Component extends OpenShiftItem { | |
| `Describe '${componentFolder.component.devfileData.devfile.metadata.name}' Component`); | ||
| } | ||
|
|
||
| @vsCommand('openshift.component.log', true) | ||
| static async log(componentFolder: ComponentWorkspaceFolder): Promise<void> { | ||
| const componentName = componentFolder.component.devfileData.devfile.metadata.name; | ||
| const showLogCmd = Command.showLog(Component.getDevPlatform(componentFolder)); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't we remove the command itself then? |
||
| await OpenShiftTerminalManager.getInstance().executeInTerminal( | ||
| showLogCmd, | ||
| componentFolder.contextPath, | ||
| `Show '${componentName}' Component Log`); | ||
| } | ||
|
|
||
| @vsCommand('openshift.component.followLog', true) | ||
| static async followLog(componentFolder: ComponentWorkspaceFolder): Promise<void> { | ||
| const componentName = componentFolder.component.devfileData.devfile.metadata.name; | ||
| const showLogCmd = Command.showLogAndFollow(Component.getDevPlatform(componentFolder)); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here. Shouldn't we remove the command itself? |
||
| await OpenShiftTerminalManager.getInstance().executeInTerminal( | ||
| showLogCmd, | ||
| componentFolder.contextPath, | ||
| `Follow '${componentName}' Component Log`); | ||
| } | ||
|
|
||
| @vsCommand('openshift.component.openCreateComponent') | ||
| static async createComponent(): Promise<void> { | ||
| await CreateComponentLoader.loadView('Create Component'); | ||
|
|
||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it necessary to delete these two tests entirely? If
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As plan to get rid of ODO, I removed the whole code and these log functionality is working through
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I still think it is pretty handy to be able to check the logs in component view and not having to look for the right deployment in the deployments view.. |
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.
@vrubezhny I removed the command as well