Skip to content

Commit 9cee402

Browse files
committed
fix ups
Signed-off-by: flouthoc <[email protected]>
1 parent a3dff84 commit 9cee402

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

cmd/podman/quadlet/print.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ var (
1212
quadletPrintDescription = `Print the contents of a Quadlet, displaying the file including all comments`
1313

1414
quadletPrintCmd = &cobra.Command{
15-
Use: "print [options] QUADLET",
15+
Use: "print QUADLET",
1616
Short: "Display the contents of a quadlet",
1717
Long: quadletPrintDescription,
1818
RunE: print,

pkg/domain/infra/abi/quadlet.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ func (ic *ContainerEngine) QuadletInstall(ctx context.Context, pathsOrURLs []str
6464
if unix.Access(dir, unix.W_OK) == nil {
6565
installDir = dir
6666
foundAdminDir = true
67+
// if found the directory where we can write
68+
// then break
69+
break
6770
}
6871
}
6972

test/e2e/quadlet_verb_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ var _ = Describe("Podman quadlet verb", func() {
1515

1616
BeforeEach(func() {
1717
SkipIfRemote("`podman quadlet` is not yet implemented for remote")
18+
SkipIfSystemdNotRunning("cannot test systemd is not running, because `quadlet install` invokes systemd")
1819
})
1920

2021
It("podman quadlet install, list, rm", func() {

0 commit comments

Comments
 (0)