storageminer: GetStorageMinerAPI for cli

This commit is contained in:
Łukasz Magiera
2019-07-29 12:08:47 -07:00
committed by whyrusleeping
parent 4fb4835b35
commit 26232f0b9a
4 changed files with 42 additions and 13 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ type StorageMinerStruct struct {
CommonStruct
Internal struct {
StoreGarbageData func(context.Context) (uint64, error)
StoreGarbageData func(context.Context) (uint64, error) `perm:"write"`
}
}