Changed Opts in structs in apier to APIOpts

This commit is contained in:
andronache
2021-03-23 10:15:43 +02:00
committed by Dan Christian Bogos
parent 806c8295be
commit 0d36b0cecf
45 changed files with 121 additions and 121 deletions

View File

@@ -39,7 +39,7 @@ func init() {
type CmdGetMaxUsage struct {
name string
rpcMethod string
rpcParams *engine.UsageRecordWithOpts
rpcParams *engine.UsageRecordWithAPIOpts
clientArgs []string
*CommandExecuter
}
@@ -54,7 +54,7 @@ func (self *CmdGetMaxUsage) RpcMethod() string {
func (self *CmdGetMaxUsage) RpcParams(reset bool) interface{} {
if reset || self.rpcParams == nil {
self.rpcParams = new(engine.UsageRecordWithOpts)
self.rpcParams = new(engine.UsageRecordWithAPIOpts)
}
return self.rpcParams
}