Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename task_type to type #36

Merged
merged 1 commit into from
Dec 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmd/appserve_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import (
"github.com/spf13/viper"
"gopkg.in/yaml.v2"
"io"
"os"
"net/http"
"os"
)

var appserveCfgFile string
Expand All @@ -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"`
Expand Down
2 changes: 1 addition & 1 deletion files/appserve-config.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down