-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inspect
: confusion around the message
parameter
#369
Comments
Yes, it's a mismatch but still works. The API only requires a string of any length, so the default value of an empty string is valid (but not very useful). Some changes we could make:
As data inspection is the primary use case for this process (I think), I'd slightly tend towards option 1. |
I agree. The least we can do is making message the second parameter instead of last. Changing the default message to something like "inspect data" instead of empty string is also a good idea, to avoid empty entries in simple log views |
I'm not sure about the default message yet. Having it might actually be annoying if you log a lot. |
inspect
vs job logsinspect
: confusion around the message
parameter
I think a minimal message is better than an empty string (especially if you have a compact log widget that only shows the message). It is a required field under And if users find it annoying: that's an incentive to write a more descriptive one 😄 |
GET /jobs/{jobid}/logs
) themessage
field is required and thedata
field is optionalinspect
process it's currently the other way around:data
is required (first) argument andmessage
is optional (even last) argumentI think there is a bit of a mismatch here.
The text was updated successfully, but these errors were encountered: