Skip to content

Commit

Permalink
chore: update script id
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickMenoti committed Sep 25, 2024
1 parent 77c7fe6 commit a5d89f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion env/prod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ API_URL=https://api.azionapi.net
AUTH_URL=https://sso.azion.com/api
STORAGE_URL=https://api.azion.com
CONSOLE=https://console.azion.com
SCRIPT_ID=92480a31-b88b-495b-8615-3ed5eff6314e
SCRIPT_ID=17ac912d-5ce9-4806-9fa7-480779e43f58
TEMPLATE_BRANCH=main
TEMPLATE_MAJOR=0
2 changes: 1 addition & 1 deletion pkg/cmd/deploy/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ var (
Logs = contracts.Logs{}
Result = contracts.Results{}
DeployURL = "https://console.azion.com"
ScriptID = "92480a31-b88b-495b-8615-3ed5eff6314e"
ScriptID = "17ac912d-5ce9-4806-9fa7-480779e43f58"
)

func NewDeployCmd(f *cmdutil.Factory) *DeployCmd {
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/deploy/deploy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ func TestCallScript(t *testing.T) {

// Register the mock API responses for logs and results
mock.Register(
httpmock.REST(http.MethodPost, "/api/template-engine/templates/92480a31-b88b-495b-8615-3ed5eff6314e/instantiate"),
httpmock.REST(http.MethodPost, "/api/template-engine/templates/17ac912d-5ce9-4806-9fa7-480779e43f58/instantiate"),
httpmock.JSONFromString(tt.resultsResponse),
)

Expand Down

0 comments on commit a5d89f8

Please sign in to comment.