From 4fef9791d185650d40a814f5f1586268ec609088 Mon Sep 17 00:00:00 2001 From: Robert Choi Date: Fri, 2 Dec 2022 19:30:24 +0900 Subject: [PATCH] rename task_type to type --- cmd/appserve_create.go | 4 ++-- files/appserve-config.yaml.example | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/appserve_create.go b/cmd/appserve_create.go index 88bd315..1d1d557 100644 --- a/cmd/appserve_create.go +++ b/cmd/appserve_create.go @@ -24,8 +24,8 @@ import ( "github.com/spf13/viper" "gopkg.in/yaml.v2" "io" - "os" "net/http" + "os" ) var appserveCfgFile string @@ -36,7 +36,7 @@ type conf struct { Contract_id string `yaml:"contract_id"` Name string `yaml:"name"` Version string `yaml:"version"` - Task_type string `yaml:"task_type"` + Type string `yaml:"type"` Artifact_url string `yaml:"artifact_url"` Port string `yaml:"port"` Profile string `yaml:"profile"` diff --git a/files/appserve-config.yaml.example b/files/appserve-config.yaml.example index cd4b015..8811717 100644 --- a/files/appserve-config.yaml.example +++ b/files/appserve-config.yaml.example @@ -2,7 +2,7 @@ contract_id: psh8wxoj7 name: petclinic version: v1 -task_type: all +type: all artifact_url: "http://ab846aadb5b974536a0463a29ed866f5-200924269.ap-northeast-2.elb.amazonaws.com:8081/repository/my-release-repo/default/petclinic/1.0/petclinic-1.0.jar" port: "8080" profile: default