Skip to content

Commit

Permalink
chore: fixed template issue
Browse files Browse the repository at this point in the history
  • Loading branch information
giautm committed Nov 6, 2023
1 parent fae0805 commit db508ba
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 70 deletions.
10 changes: 0 additions & 10 deletions internal/provider/config/migrate.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,4 @@ env {
revisions_schema = "{{ .RevisionsSchema }}"
{{- end }}
}
format {
migrate {
apply = "{{"{{ json . }}"}}"
lint = "{{"{{ json . }}"}}"
status = "{{"{{ json . }}"}}"
}
}
lint {
format = "{{"{{ json . }}"}}"
}
}
10 changes: 0 additions & 10 deletions internal/provider/testdata/TestTemplate/baseline-cfg.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,4 @@ env {
dir = "file://migrations"
baseline = "100000"
}
format {
migrate {
apply = "{{ json . }}"
lint = "{{ json . }}"
status = "{{ json . }}"
}
}
lint {
format = "{{ json . }}"
}
}
10 changes: 0 additions & 10 deletions internal/provider/testdata/TestTemplate/cloud-cfg.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,4 @@ env {
migration {
dir = data.remote_dir.this.url
}
format {
migrate {
apply = "{{ json . }}"
lint = "{{ json . }}"
status = "{{ json . }}"
}
}
lint {
format = "{{ json . }}"
}
}
10 changes: 0 additions & 10 deletions internal/provider/testdata/TestTemplate/cloud-no-token-cfg.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,4 @@ env {
migration {
dir = "file://dir-url"
}
format {
migrate {
apply = "{{ json . }}"
lint = "{{ json . }}"
status = "{{ json . }}"
}
}
lint {
format = "{{ json . }}"
}
}
10 changes: 0 additions & 10 deletions internal/provider/testdata/TestTemplate/cloud-tag-cfg.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,4 @@ env {
migration {
dir = data.remote_dir.this.url
}
format {
migrate {
apply = "{{ json . }}"
lint = "{{ json . }}"
status = "{{ json . }}"
}
}
lint {
format = "{{ json . }}"
}
}
10 changes: 0 additions & 10 deletions internal/provider/testdata/TestTemplate/local-cfg.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,4 @@ env {
migration {
dir = "file://migrations"
}
format {
migrate {
apply = "{{ json . }}"
lint = "{{ json . }}"
status = "{{ json . }}"
}
}
lint {
format = "{{ json . }}"
}
}
10 changes: 0 additions & 10 deletions internal/provider/testdata/TestTemplate/token-cfg.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,4 @@ env {
migration {
dir = "file://migrations"
}
format {
migrate {
apply = "{{ json . }}"
lint = "{{ json . }}"
status = "{{ json . }}"
}
}
lint {
format = "{{ json . }}"
}
}

0 comments on commit db508ba

Please sign in to comment.