Minor refactor in 'core' package

This commit is contained in:
Tom Wiesing 2022-09-13 09:52:37 +02:00
parent a360324f62
commit 94263174cf
No known key found for this signature in database
4 changed files with 25 additions and 19 deletions

View file

@ -99,8 +99,8 @@ func (bs bootstrap) Run(context wisski_distillery.Context) error {
if domain == "" {
domain = hostname.FQDN()
}
overridesPath := filepath.Join(root, "overrides.json")
authorizedKeysFile := filepath.Join(root, "authorized_keys")
overridesPath := filepath.Join(root, core.OverridesJSON)
authorizedKeysFile := filepath.Join(root, core.AuthorizedKeys)
{
logging.LogMessage(context.IOStream, "Copying over wdcli executable")