zknill / sqledge

Replicate postgres to SQLite on the edge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bad assignment of Environment Variable in the Proxy Struct

gaboucher opened this issue · comments

In pkg/config/config.go on the main branch the SQLEDGE_PROXY_ADDRESS is assigned to Port.
I think the correct env var name would be SQLEDGE_PROXY_PORT

	Proxy struct {
		Address string `env:"SQLEDGE_PROXY_ADDRESS,default=localhost"`
		Port    int    `env:"SQLEDGE_PROXY_ADDRESS,default=5433"`
	}