update bw to 4.3, add .provides() to metadata reactors
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
7f0fb7a6e2
commit
2d42e5f7dd
29 changed files with 158 additions and 47 deletions
|
@ -7,7 +7,9 @@ defaults = {
|
|||
},
|
||||
}
|
||||
|
||||
@metadata_reactor
|
||||
@metadata_reactor.provides(
|
||||
'backup-server/clients',
|
||||
)
|
||||
def get_my_clients(metadata):
|
||||
my_clients = {}
|
||||
|
||||
|
@ -26,7 +28,10 @@ def get_my_clients(metadata):
|
|||
}
|
||||
|
||||
|
||||
@metadata_reactor
|
||||
@metadata_reactor.provides(
|
||||
'zfs/datasets',
|
||||
'zfs/snapshots/retain_per_dataset',
|
||||
)
|
||||
def zfs(metadata):
|
||||
zfs_datasets = {}
|
||||
zfs_retains = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue