Merge pull request #11274 from influxdata/fix/update-telegraf-bucket
fix(ui/dataLoaders): Fix update telegraf configpull/11306/head
commit
c64f528012
|
@ -309,7 +309,7 @@ export const createOrUpdateTelegrafConfigAsync = (authToken: string) => async (
|
|||
|
||||
if (telegrafConfigID) {
|
||||
const telegrafConfig = await getTelegrafConfig(telegrafConfigID)
|
||||
const id = _.get(telegrafConfig, '0.id', '')
|
||||
const id = _.get(telegrafConfig, 'id', '')
|
||||
|
||||
await updateTelegrafConfig(id, {...telegrafConfig, plugins})
|
||||
dispatch(setTelegrafConfigID(id))
|
||||
|
|
Loading…
Reference in New Issue