Skip to content

Commit

Permalink
Fix Delete
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
  • Loading branch information
ArangoGutierrez committed Jan 8, 2024
1 parent fbee118 commit 8944f7a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ spec:
- 192.168.1.0/26
image:
architecture: amd64
imageId: ami-0fe8bec493a81c7da
imageId: ami-0fe8bec493a81c7da # Ubuntu 22.04 image
containerRuntime:
install: true
name: containerd
Expand Down
3 changes: 3 additions & 0 deletions cmd/delete/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ func (m command) build() *cli.Command {
}

// read hostUrl from cache
if opts.cachePath == "" {
opts.cachePath = filepath.Join(os.Getenv("HOME"), ".cache", "holodeck")
}
opts.cachefile = filepath.Join(opts.cachePath, opts.cfg.Name+".yaml")
opts.cache, err = jyaml.UnmarshalFromFile[v1alpha1.Environment](opts.cachefile)
if err != nil {
Expand Down

0 comments on commit 8944f7a

Please sign in to comment.