Skip to content

changing CHACHE_DIR in CLI does not fully work #72

@hajgato

Description

@hajgato

simple code:

from vsc.utils.script_tools import CLI

class SimpleTest(CLI):

    CACHE_DIR = '/tmp'
    
    def do(self, dry_run):
       pass

 
if __name__ == '__main__':
    do = SimpleTest()
    do.main()

generates the timestamp in /tmp, but the NagiosReporter does not obey it (still uses /var/cache)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions