Add envconfig docs to the config
This commit is contained in:
parent
4192e40a9a
commit
7c84e22c3e
@ -125,6 +125,8 @@ func ConfigUpdate(cfgCur, cfgDef interface{}, comment bool) ([]byte, error) {
|
|||||||
|
|
||||||
outLines = append(outLines, pad+"# type: "+doc.Type)
|
outLines = append(outLines, pad+"# type: "+doc.Type)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
outLines = append(outLines, pad+"# env var: LOTUS_"+strings.ToUpper(strings.ReplaceAll(section, ".", "_"))+"_"+strings.ToUpper(lf[0]))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user