func (a *Agent) RPC(method string, args interface{}, reply interface{}) error {
	if a.server != nil {
		return a.server.RPC(method, args, reply)
	}
	return a.client.RPC(method, args, reply)
}
// RPC is used to make an RPC call to the Nomad servers
RPC is used to make an RPC call to the Nomad servers
// RPC is used to make an RPC call to the Nomad servers
func (a *Agent) RPC(method string, args interface{}, reply interface{}) error {
	if a.server != nil {
		return a.server.RPC(method, args, reply)
	}
	return a.client.RPC(method, args, reply)
}
func ( a * Agent ) RPC ( method string , args interface { } , reply interface { } ) error { if a . server != nil { return a . server . RPC ( method , args , reply ) } return a . client . RPC ( method , args , reply ) }
RPC is used to make an RPC call to the Nomad servers
RPC is used to make an RPC call to the Nomad servers