8000 Add template tooltips/kira pilot by Kira-Pilot · Pull Request #2308 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

Add template tooltips/kira pilot #2308

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Jun 14, 2022
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: ensure config dir exists before reading tunnel config (#2259)
  • Loading branch information
coadler authored Jun 10, 2022
commit de6f86bf7aa61ca727b97132b2235db2ad7a38f9
8 changes: 7 additions & 1 deletion coderd/devtunnel/tunnel.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,13 @@ func cfgPath() (string, error) {
return "", xerrors.Errorf("get user config dir: %w", err)
}

return filepath.Join(cfgDir, "coderv2", "devtunnel"), nil
cfgDir = filepath.Join(cfgDir, "coderv2")
err = os.MkdirAll(cfgDir, 0750)
if err != nil {
return "", xerrors.Errorf("mkdirall config dir %q: %w", cfgDir, err)
}

return filepath.Join(cfgDir, "devtunnel"), nil
}

func readOrGenerateConfig() (Config, error) {
Expand Down
0