File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ type Deployment struct {
2727 FormValues map [string ]string `json:"FormValues,omitempty"`
2828 ManifestVariableSetID string `json:"ManifestVariableSetId,omitempty"`
2929 Name string `json:"Name,omitempty"`
30+ Priority string `json:"Priority" binding:"oneof=On Off LifecycleDefault"`
3031 ProjectID string `json:"ProjectId,omitempty"`
3132 QueueTime * time.Time `json:"QueueTime,omitempty"`
3233 QueueTimeExpiry * time.Time `json:"QueueTimeExpiry,omitempty"`
Original file line number Diff line number Diff line change @@ -12,13 +12,10 @@ import (
1212)
1313
1414func getOctopusClient () * client.Client {
15- // host := os.Getenv(constants.EnvironmentVariableOctopusHost)
16- // apiKey := os.Getenv(constants.EnvironmentVariableOctopusApiKey)
15+ host := os .Getenv (constants .EnvironmentVariableOctopusHost )
16+ apiKey := os .Getenv (constants .EnvironmentVariableOctopusApiKey )
1717 spaceId := os .Getenv (constants .EnvironmentVariableOctopusSpace )
1818
19- host := "http://localhost:8066"
20- apiKey := "API-4KM7F0OLXQBRBYLYHTWQSJYWVSFVB"
21-
2219 if len (host ) == 0 {
2320 host = os .Getenv (constants .ClientURLEnvironmentVariable )
2421 }
You can’t perform that action at this time.
0 commit comments