GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix compile issue · PastureStack/cli@e1a0099

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • cmd
    • catalog.go
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎cmd/catalog.go‎

Copy file name to clipboardExpand all lines: cmd/catalog.go
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import (
99

1010
"github.com/rancher/go-rancher/catalog"
1111
"github.com/rancher/go-rancher/v2"
12+
"github.com/rancher/rancher-compose-executor/utils"
1213
"github.com/urfave/cli"
1314
)
1415

@@ -106,7 +107,7 @@ func isInCSV(value, csv string) bool {
106107
return false
107108
}
108109

109-
func isOrchestrationSupported(ctx *cli.Context, proj *client.Project, labels map[string]interface{}) bool {
110+
func isOrchestrationSupported(ctx *cli.Context, proj *client.Project, labels map[string]string) bool {
110111
// Only check for system templates
111112
if !ctx.Bool("system") {
112113
return true
@@ -287,7 +288,7 @@ func catalogInstall(ctx *cli.Context) error {
287288
case "kubernetes":
288289
stack, err := c.KubernetesStack.Create(&client.KubernetesStack{
289290
Name: stackName,
290-
Templates: templateVersion.Files,
291+
Templates: utils.ToMapInterface(templateVersion.Files),
291292
ExternalId: externalID,
292293
Environment: answers,
293294
System: ctx.Bool("system"),

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.