This repository has been archived by the owner on Nov 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 294
Task list not consistent #1154
Comments
After a brief look I think the best place to change this would be in snapctl. I think sorting it before going into this loop is all that would be required. |
Hey @felipewd, maybe this is obvious, and you probably know about this, but you can give task a name, that may allow to better identify tasks.
|
Hi @andrzej-k, I did know that. But if I want to do a task stop, for example, I can't reference the name. I have to reference the Task ID, so, my original problem remains the same, right? :) |
mareahall
added a commit
to mareahall/snap
that referenced
this issue
Sep 19, 2016
mareahall
added a commit
to mareahall/snap
that referenced
this issue
Sep 19, 2016
mareahall
added a commit
to mareahall/snap
that referenced
this issue
Sep 19, 2016
mareahall
added a commit
to mareahall/snap
that referenced
this issue
Sep 19, 2016
…e ordered by creation time. Fixes intelsdi-x#1154: Added return statement to swap function
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
When listing tasks, if I run
snapctl task list
a few times, the tasks are listed in different ways (not always, but a few times).This lead me to almost stop the wrong task, and I can see other people making the same mistake I did in a production environment.
I talked it over on Slack, and @IRCody suggested listing the tasks ordered by time created, which I agree.
If you guys could take a look, that'd great.
The text was updated successfully, but these errors were encountered: