Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Commit 6ffa7c7

Browse files
committed
fix: check for empty response when listing agent's workdir
1 parent d677205 commit 6ffa7c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

e2e/_suites/fleet/fleet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ func (fts *FleetTestSuite) theFileSystemAgentFolderIsEmpty() error {
543543
return err
544544
}
545545

546-
if strings.Contains(content, "No such file or directory") {
546+
if content == "" || strings.Contains(content, "No such file or directory") {
547547
return nil
548548
}
549549

0 commit comments

Comments
 (0)