Content-Length: 926 | pFad | http://github.com/coder/coder/pull/17114.patch
thub.com
From 14aeb6bffda6898172f1955bd8da189e36bc0857 Mon Sep 17 00:00:00 2001
From: Michael patterson
Date: Wed, 26 Mar 2025 15:40:38 +0000
Subject: [PATCH] This ensures the version name is set in the request arguments
---
cli/templatepush.go | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cli/templatepush.go b/cli/templatepush.go
index 7b3cec06a7353..6f8edf61b5085 100644
--- a/cli/templatepush.go
+++ b/cli/templatepush.go
@@ -137,8 +137,9 @@ func (r *RootCmd) templatePush() *serpent.Command {
UserVariableValues: userVariableValues,
}
+ // This ensures the version name is set in the request arguments regardless of whether you're creating a new template or updating an existing one.
+ args.Name = versionName
if !createTemplate {
- args.Name = versionName
args.Template = &template
args.ReuseParameters = !alwaysPrompt
}
--- a PPN by Garber Painting Akron. With Image Size Reduction included!Fetched URL: http://github.com/coder/coder/pull/17114.patch
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy