diff options
author | Julien Dessaux | 2024-03-26 08:31:53 +0100 |
---|---|---|
committer | Julien Dessaux | 2024-03-26 08:31:53 +0100 |
commit | f51843f634ed37d02558ba49cda7c24764f928ac (patch) | |
tree | e8c4775268141671e5815a30f2e8976ef1a6dfc8 /pkg/gonf.go | |
parent | chore(packages): removed useless packages list hook function and debian stdli... (diff) | |
download | gonf-f51843f634ed37d02558ba49cda7c24764f928ac.tar.gz gonf-f51843f634ed37d02558ba49cda7c24764f928ac.tar.bz2 gonf-f51843f634ed37d02558ba49cda7c24764f928ac.zip |
feat(users): implemented basic user creation promise
Diffstat (limited to 'pkg/gonf.go')
-rw-r--r-- | pkg/gonf.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/gonf.go b/pkg/gonf.go index 88edf9c..5e02176 100644 --- a/pkg/gonf.go +++ b/pkg/gonf.go @@ -14,6 +14,14 @@ func EnableDebugLogs() { func Resolve() (status Status) { for { + // ----- Users ------------------------------------------------- + status = resolveUsers() + switch status { + case BROKEN: + return BROKEN + case REPAIRED: + continue + } // ----- Files ------------------------------------------------- status = resolveFiles() switch status { |