Skip to content

Clued-In checks script not properly evaluating docker-compose #18

Description

@stegs

Hello,

The script checks.ps1 is only evaluating as successful if the major version > 1 AND minor version > 26. However, I am currently running 2.10.2. So my major version > 1 but my minor version < 26. I have a later version of docker-compose and the script can't recognize it.

    [Check]::new('Docker Compose', {
        $info = docker-compose version --short
        $major,$minor,$patch = $info.Trim().Split('.')
        **$success = ($major -ge 1) -and ($minor -ge 26)**
        [CheckResult]::new($success, $info)
    },

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions