fix: make core.sia.url and core.sia.key required
This commit is contained in:
parent
7ef2f819a8
commit
a16bcc788d
|
@ -107,10 +107,11 @@ func (p *PortalImpl) getInitFuncs() []func() error {
|
||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
func() error {
|
func() error {
|
||||||
|
|
||||||
required := []string{
|
required := []string{
|
||||||
"core.domain",
|
"core.domain",
|
||||||
"core.port",
|
"core.port",
|
||||||
|
"core.sia.url",
|
||||||
|
"core.sia.key",
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, key := range required {
|
for _, key := range required {
|
||||||
|
|
Loading…
Reference in New Issue