Skip to content

Commit 6571c66

Browse files
authored
Merge pull request #411 from oasisprotocol/matevz/feature/rofl-init-more-compose-yaml-files
cmd/rofl/init: Detect rofl-compose.yaml as well if it exists
2 parents bb1a57c + 51ec2b6 commit 6571c66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/rofl/mgmt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ var (
675675

676676
// detectAndCreateComposeFile detects the existing compose.yaml-like file and returns its filename. Otherwise, creates an empty default compose.yaml.
677677
func detectOrCreateComposeFile() string {
678-
for _, filename := range []string{"docker-compose.yaml", "docker-compose.yml", "compose.yml"} {
678+
for _, filename := range []string{"rofl-compose.yaml", "rofl-compose.yml", "docker-compose.yaml", "docker-compose.yml", "compose.yml"} {
679679
if _, err := os.Stat(filename); err == nil {
680680
return filename
681681
}

0 commit comments

Comments
 (0)