On Jul 14, 2009 at 18:21, Juha Heinanen jh@tutpro.com wrote:
next i tried 'mi set_gflag' and it failed like this:
srctl> mi set_gflag 1024 error: 400 - error at parameter 2: expected string type but record doesn't match type
did i do something wrong or is also this mi command buggy?
try mi set_gflag s:1024.
sercmd tries to auto-guess the type of the parameters and if the parameters is a number => sets the binrpc type to int. However mi expects only strings (doesn't have the notion of any other type) => error.
Adding s: in front of a number forces the type to string (in sercmd).
Andrei