Change path portion of unique cluster name to point to compose file, not argv[0]. #678

Merged
telackey merged 2 commits from telackey/argv into main 2023-12-04 19:39:14 +00:00
Member

Using argv[0] has the problem of the value changing unexpectedly by whatever name and path were used to execute it (eg, ../foo vs /path/to/foo).

This changes it to put to the full-qualified path to the compose file directory in the case of a deployment, or "internal" in the case of the deploy command with a built-in stack.

Using argv[0] has the problem of the value changing unexpectedly by whatever name and path were used to execute it (eg, `../foo` vs `/path/to/foo`). This changes it to put to the full-qualified path to the compose file directory in the case of a deployment, or "internal" in the case of the deploy command with a built-in stack.
dboreham approved these changes 2023-12-04 19:00:59 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/stack-orchestrator#678
No description provided.