forked from k0sproject/k0s
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix running konnectivity-server as non-root and misc cleanups
Fix running konnectivity-server as non-root user `konnectivity-server` by creating a directory for the unix socket with the proper permissions. Replace path.Join with filepath.Join since we are joining file paths and not URLs. Drop github.com/pkg/errors in favor of fmt.Errorf (see k0sproject#227) Signed-off-by: Natanael Copa <ncopa@mirantis.com>
- Loading branch information
Showing
1 changed file
with
17 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters