-
-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Description
a few months ago, we made a few changes for support Singularity 3.* instance group commands,
i.e
singularity-cli/spython/instance/cmd/stop.py
Lines 31 to 34 in f84ef3e
| subgroup = 'instance.stop' | |
| if get_singularity_version().find("version 3"): | |
| subgroup = ["instance", "stop"] | |
but this break compatibility with 2.* branch, because always go inside the IF statement, it was my mistake, :( .
this can fix that.
if ( get_singularity_version().find("version 3") != -1 ):
now, testing singularity 3.* commands, they now support two ways to return singularity version
I think that they we listen to us :)
- singularity version
3.1.0-rc4.dirty - singularity --version
singularity version 3.1.0-rc4.dirty
What you think about that?
Can this return value be used to prevent including unnecessary code?
Metadata
Metadata
Assignees
Labels
No labels