fix default used_time field
This commit is contained in:
parent
90bc05e1d0
commit
8cb936a57b
@ -123,7 +123,7 @@ func (c *Client) init() error {
|
|||||||
if len(c.instanceTable[flag].LoggerFieldConfig.CommandField) == 0 {
|
if len(c.instanceTable[flag].LoggerFieldConfig.CommandField) == 0 {
|
||||||
c.instanceTable[flag].LoggerFieldConfig.CommandField = defaultCommandField
|
c.instanceTable[flag].LoggerFieldConfig.CommandField = defaultCommandField
|
||||||
}
|
}
|
||||||
if len(c.instanceTable[flag].LoggerFieldConfig.UsedTimeField) == 9 {
|
if len(c.instanceTable[flag].LoggerFieldConfig.UsedTimeField) == 0 {
|
||||||
c.instanceTable[flag].LoggerFieldConfig.UsedTimeField = defaultUsedTimeField
|
c.instanceTable[flag].LoggerFieldConfig.UsedTimeField = defaultUsedTimeField
|
||||||
}
|
}
|
||||||
if len(c.instanceTable[flag].LoggerFieldConfig.FlagField) == 0 {
|
if len(c.instanceTable[flag].LoggerFieldConfig.FlagField) == 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user