Skip to content

More than 2 json outputs for sophomorix #102

Description

@kiarn

Hello @PLanB2008

Related to your comment here

# TODO: Fifure out why return message changed
: some sophomorix commands return 2 json outputs.

I already wrote a post about it here : linuxmuster/sophomorix4#68 (comment)

There was a major change in lmn_getSophomorixValue ( here :

def lmn_getSophomorixValue(sophomorixCommand, jsonpath, ignoreErrors=False):
) , because I saw some conflicts in the output from sophomorix commands ( when run simultaneously ), and this is not handled with threads ( it's a little faster ).

I had to choose between merging the output dicts, or simply taking one.
I saw that the first one always contain the main informations, that's why I took the first one.

Ideally, it would be great if sophomorix only delivers one json output.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions