Skip to content

Commit

Permalink
Set default airflow version to 1.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamingregory committed Feb 11, 2019
1 parent 1a79b60 commit 42dd17c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/airflow.go
Expand Up @@ -173,7 +173,7 @@ func airflowInit(cmd *cobra.Command, args []string) error {
projectName = strings.Replace(strcase.ToSnake(projectDirectory), "_", "-", -1)
}

acceptableAirflowVersions := []string{"1.9.0", "1.10.1"}
acceptableAirflowVersions := []string{"1.9.0", "1.10.2"}

if airflowVersion != "" && !acceptableVersion(airflowVersion, acceptableAirflowVersions) {
return errors.Errorf(messages.ERROR_INVALID_AIRFLOW_VERSION, strings.Join(acceptableAirflowVersions, ", "))
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Expand Up @@ -82,7 +82,7 @@ func isValidVersion(version string) bool {
func GetTagFromVersion(airflowVersion string) string {

if airflowVersion == "" {
airflowVersion = "1.9.0"
airflowVersion = "1.10.2"
}

version := CurrVersion
Expand Down

0 comments on commit 42dd17c

Please sign in to comment.