Graylog2/graylog2-server

Don't sort output config fields by optionality

Open

#4,761 建立於 2018年4月25日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)Java (1,032 fork)batch import
good first issuepapercuttriaged

倉庫指標

Star
 (6,945 star)
PR 合併指標
 (平均合併 8天 19小時) (30 天內合併 297 個 PR)

描述

Expected Behavior

The config fields of my output plugin appear in the order I registered them.

Current Behavior

If some of them are optional, they are shown below all others.

Possible Solution

Don't sort the fields by optionality.

Steps to Reproduce (for bugs)

Register two output config fields and make the first optional.

Context

https://github.com/Graylog2/graylog2-server/pull/4746#issuecomment-384253076

Your Environment

(not relevant)

貢獻者指南