Skip to content

Commit

Permalink
Fix [UI] K8s Pod Info Not Shown in Workflow View 1.2.1 (#1576)
Browse files Browse the repository at this point in the history
  • Loading branch information
illia-prokopchuk committed Dec 29, 2022
1 parent f9d9a61 commit bee50c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Jobs/MonitorWorkflows/MonitorWorkflows.js
Expand Up @@ -54,13 +54,15 @@ const MonitorWorkflows = ({
fetchFunctionLogs,
fetchJob,
fetchJobLogs,
fetchJobPods,
fetchJobs,
fetchWorkflow,
fetchWorkflows,
getFunction,
getFunctionWithHash,
removeFunctionLogs,
removeJobLogs,
removePods,
removeNewJob,
resetWorkflow,
setFilters
Expand All @@ -84,7 +86,7 @@ const MonitorWorkflows = ({
React.useContext(JobsContext)
let fetchFunctionLogsTimeout = useRef(null)

usePods()
usePods(fetchJobPods, removePods, selectedJob)

const filters = useMemo(() => generateFilters(), [])

Expand Down
3 changes: 3 additions & 0 deletions src/components/Jobs/MonitorWorkflows/monitorWorkflows.util.js
Expand Up @@ -32,6 +32,7 @@ import jobsActions from '../../../actions/jobs'
import functionsActions from '../../../actions/functions'
import workflowsActions from '../../../actions/workflow'
import filtersActions from '../../../actions/filters'
import detailsActions from '../../../actions/details'
import {
detailsMenu as functionsDetailsMenu,
infoHeaders as functionsInfoHeaders
Expand Down Expand Up @@ -132,6 +133,7 @@ export const monitorWorkflowsActionCreator = {
fetchJob: jobsActions.fetchJob,
fetchJobFunction: jobsActions.fetchJobFunction,
fetchJobLogs: jobsActions.fetchJobLogs,
fetchJobPods: detailsActions.fetchJobPods,
fetchJobs: jobsActions.fetchJobs,
fetchWorkflow: workflowsActions.fetchWorkflow,
fetchWorkflows: workflowsActions.fetchWorkflows,
Expand All @@ -140,6 +142,7 @@ export const monitorWorkflowsActionCreator = {
removeFunction: functionsActions.removeFunction,
removeFunctionLogs: functionsActions.removeFunctionLogs,
removeJobLogs: jobsActions.removeJobLogs,
removePods: detailsActions.removePods,
removeNewJob: jobsActions.removeNewJob,
resetWorkflow: workflowsActions.resetWorkflow,
setFilters: filtersActions.setFilters
Expand Down

0 comments on commit bee50c9

Please sign in to comment.