Skip to content
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

zfs: Allow space in dataset name #3186

Merged
merged 5 commits into from
Feb 2, 2025
Merged
Changes from 1 commit
Commits
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
zfs: rename pool3 consistently in test case
Signed-off-by: Mustafa Khafateh <m@khafateh.com>
  • Loading branch information
khafatech committed Nov 21, 2024
commit d4779534cd32497f692a1afd6da5c5a6cc58bb7e
4 changes: 2 additions & 2 deletions collector/zfs_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,11 +330,11 @@ func TestZpoolObjsetParsingWithSpace(t *testing.T) {
},
{
path: "fixtures/proc/spl/kstat/zfs/pool3/objset-1",
expectedDataset: "pool1",
expectedDataset: "pool3",
},
{
path: "fixtures/proc/spl/kstat/zfs/pool3/objset-2",
expectedDataset: "pool1/dataset with space",
expectedDataset: "pool3/dataset with space",
},
}

Expand Down