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 {
27
27
FormValues map [string ]string `json:"FormValues,omitempty"`
28
28
ManifestVariableSetID string `json:"ManifestVariableSetId,omitempty"`
29
29
Name string `json:"Name,omitempty"`
30
+ Priority string `json:"Priority" binding:"oneof=On Off LifecycleDefault"`
30
31
ProjectID string `json:"ProjectId,omitempty"`
31
32
QueueTime * time.Time `json:"QueueTime,omitempty"`
32
33
QueueTimeExpiry * time.Time `json:"QueueTimeExpiry,omitempty"`
Original file line number Diff line number Diff line change @@ -12,13 +12,10 @@ import (
12
12
)
13
13
14
14
func 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 )
17
17
spaceId := os .Getenv (constants .EnvironmentVariableOctopusSpace )
18
18
19
- host := "http://localhost:8066"
20
- apiKey := "API-4KM7F0OLXQBRBYLYHTWQSJYWVSFVB"
21
-
22
19
if len (host ) == 0 {
23
20
host = os .Getenv (constants .ClientURLEnvironmentVariable )
24
21
}
You can’t perform that action at this time.
0 commit comments