()
| 874 | } |
| 875 | |
| 876 | func (d *dependency) LockSystem() lock.LockSystem { |
| 877 | if d.lockSystem != nil { |
| 878 | return d.lockSystem |
| 879 | } |
| 880 | |
| 881 | d.lockSystem = lock.NewMemLS(d.HashIDEncoder(), d.Logger()) |
| 882 | return d.lockSystem |
| 883 | } |
| 884 | |
| 885 | func (d *dependency) StoragePolicyClient() inventory.StoragePolicyClient { |
| 886 | if d.storagePolicyClient != nil { |
nothing calls this directly
no test coverage detected