Minor changes

- Added missing environment variables to Dockerfile
- Constant ca certificates filepath
- Removed dns/os.go unused file
- Formatting improvements
- Added comments
- Readme TODOs update
This commit is contained in:
Quentin McGaw (desktop)
2020-02-08 21:08:49 +00:00
parent 6734779e90
commit 247dc01f8a
8 changed files with 20 additions and 38 deletions

View File

@@ -10,6 +10,7 @@ import (
"github.com/qdm12/private-internet-access-docker/internal/params"
)
// Splash returns the welcome spash message
func Splash(paramsReader params.ParamsReader) string {
version := paramsReader.GetVersion()
vcsRef := paramsReader.GetVcsRef()
@@ -40,7 +41,7 @@ func title() []string {
func annoucement() []string {
timestamp := time.Now().UnixNano() / 1000000000
if timestamp < constants.AnnoucementExpiration {
return []string{emoji.Sprint(":rotating_light: ") + constants.Annoucement}
return []string{emoji.Sprint(":mega: ") + constants.Annoucement}
}
return nil
}