Skip to content

Fix installation of XDG compliant files in mnq #5186

@remyleone

Description

@remyleone

Command attempted

In internal/namespaces/mnq/v1beta1/custom_nats_helpers.go

We should return return filepath.Join(xdgConfigHome, "nats", "context"), nil

We should also add proper testing in internal/namespaces/mnq/v1beta1/custom_nats_test.go
and test with a OverrideEnv that if the XDG_CONFIG_HOME is indeed specified that no files are written in the real home directory of the tester

Expected Behavior

Actual Behavior

More info

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions