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

fix: remove duplicate fields from UpdateTemplateMeta struct#18291

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
blink-so wants to merge2 commits intomain
base:main
Choose a base branch
Loading
fromfix-templates-struct-duplicate-fields
Open
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
4 changes: 1 addition & 3 deletionscodersdk/templates.go
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -61,8 +61,6 @@ type Template struct {
// template version.
RequireActiveVersion bool `json:"require_active_version"`
MaxPortShareLevel WorkspaceAgentPortShareLevel `json:"max_port_share_level"`

UseClassicParameterFlow bool `json:"use_classic_parameter_flow"`
}

// WeekdaysToBitmap converts a list of weekdays to a bitmap in accordance with
Expand DownExpand Up@@ -257,7 +255,7 @@ type UpdateTemplateMeta struct {
// "dynamic-parameters" enabled. This setting will live for a period after the experiment is
// made the default.
// An "opt-out" is present in case the new feature breaks some existing templates.
UseClassicParameterFlow*bool `json:"use_classic_parameter_flow,omitempty"`
UseClassicParameterFlow bool `json:"use_classic_parameter_flow,omitempty"`
}

type TemplateExample struct {
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp