Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
/coder-v1-cliPublic archive

chore: update template request field name from 'name' to 'file_name'#231

Merged
sreya merged 1 commit intomasterfromupdate-wac-api
Jan 26, 2021
Merged
Show file tree
Hide file tree
Changes fromall 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
2 changes: 1 addition & 1 deletioncoder-sdk/env.go
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -102,7 +102,7 @@ type Template struct {
// Optional. The default branch will be used if not provided.
Branch string `json:"branch"`
// Optional. The template name will be used if not provided.
Name string `json:"name"`
FileName string `json:"file_name"`
}

// CreateEnvironmentFromRepo sends a request to create an environment from a repository.
Expand Down
2 changes: 1 addition & 1 deletioninternal/cmd/envs.go
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -280,7 +280,7 @@ coder envs create-from-repo github.com/cdr/m --branch envs-as-code`,
createReq := &coder.Template{
RepositoryURL: args[0],
Branch: branch,
Name: name,
FileName: name,
}

env, err := client.CreateEnvironment(ctx, coder.CreateEnvironmentRequest{
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp