You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Jobs.listJob(jid).callSync(saltClient) to get the JobInfo . If the jid is invalid for example 123 , I will get a IllegalStateException .
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a string but was BEGIN_ARRAY at line 1 column 107 path $.return[0].Target-type
However i run the command in shell
$ salt-run jobs.list_job 123
I will get the result like this:
Arguments:
Function:
unknown-function
Result:
----------
StartTime:
Target:
unknown-target
Target-type:
User:
root
jid:
123
The text was updated successfully, but these errors were encountered:
I use Jobs.listJob(jid).callSync(saltClient) to get the JobInfo . If the jid is invalid for example 123 , I will get a IllegalStateException .
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a string but was BEGIN_ARRAY at line 1 column 107 path $.return[0].Target-type
However i run the command in shell
$ salt-run jobs.list_job 123
I will get the result like this:
Arguments:
Function:
unknown-function
Result:
----------
StartTime:
Target:
unknown-target
Target-type:
User:
root
jid:
123
The text was updated successfully, but these errors were encountered: