Skip to content

CLI reports non-native default config path on Windows #268

Description

@mynk8

Describe the bug

The CLI constructed the ConfigPath variable with mixed seperators and hence, the reported default config path in --help was wrong.

      --config string                 Path to Microcks config (default "C:\\Users\\HomePC/.config/microcks/config")

This seems to be a cosmetic issue only, the actual paths used by the runtime logic is different.

Expected behavior

The expected path should be C:\\Users\\HomePC\\.config\\microcks\\config on Windows

Actual behavior

Reports C:\Users\some_name/.config/microcks/config

How to Reproduce?

Run microcks --help on Windows

Microcks version or git rev

fde7e8f

Install method (docker-compose, helm chart, operator, docker-desktop extension,...)

source

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleState due to inactivity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions