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

bw items --repr has inconsistent behaviour #649

Open
Kunsi opened this issue Jul 17, 2021 · 0 comments
Open

bw items --repr has inconsistent behaviour #649

Kunsi opened this issue Jul 17, 2021 · 0 comments
Milestone

Comments

@Kunsi
Copy link
Contributor

Kunsi commented Jul 17, 2021

/home/kunsi/git/bundlewrap|main✓➤ bw items --repr rx300 | grep ZFSPool
<ZFSPool name:tank autoexpand:None autoreplace:None autotrim:True config:[{'type': 'raidz', 'devices': {'/dev/sdc', '/dev/sdd', '/dev/sdb', '/dev/sda'}}]>

/home/kunsi/git/bundlewrap|main✓➤ bw items --repr rx300 zfs_pool:tank
{
    "autotrim": true
}

I'd expect bw items --repr rx300 zfs_pool:tank to also show __repr__() instead of cdict().

@trehn trehn added this to the 5.0.0 milestone Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants