Skip to content

Commit f080b42

Browse files
committed
revert libpod back to podman
1 parent 6fefe90 commit f080b42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clab/clab.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import (
2525
"github.com/srl-labs/containerlab/runtime/docker"
2626
"github.com/srl-labs/containerlab/runtime/ignite"
2727
"github.com/srl-labs/containerlab/types"
28+
"github.com/srl-labs/containerlab/utils"
2829
"golang.org/x/crypto/ssh"
2930
"golang.org/x/exp/slices"
3031
)
@@ -199,7 +200,7 @@ func findTopoFileByPath(path string) (string, error) {
199200
// creates a temp file with topology contents
200201
// and returns a path to the temp file.
201202
func (c *CLab) readFromStdin() (string, error) {
202-
c.TopoPaths.CreateTmpDir()
203+
utils.CreateDirectory(c.TopoPaths.ClabTmpDir(), 0755)
203204

204205
tmpFile, err := os.CreateTemp(c.TopoPaths.ClabTmpDir(), "topo-*.clab.yml")
205206
if err != nil {

0 commit comments

Comments
 (0)