Fix startup on gokrazy (#15378)

Fixes panic: runtime error: invalid memory address or nil pointer dereference.
This commit is contained in:
Joonas Kuorilehto 2024-08-13 23:35:43 +03:00 • committed by GitHub
parent bc3619bc86
commit f0b77bde68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,7 +0,0 @@
//go:build gokrazy
package cmd
func init() {
viper.AddConfigPath("/perm") // path to look for the config file in
}