Simplify fetchLogs in the logs vuex store

export const fetchLogs = ({ commit, state }, podName) =>

Is doing too much right now, and could be split.

Original discussion

The following discussion from !18567 (merged) should be addressed:

  • @filipa started a discussion: (+1 comment)

    let's break this please. There is a lot of things happening in this, this should only fetch data.

    let's create an action to set the name and call it

Edited Oct 31, 2019 by Miguel Rincon
Assignee Loading
Time tracking Loading