Skip to content

Commit

Permalink
fix(dashboard): wrong path for consolelink in downstream (red-hat-dat…
Browse files Browse the repository at this point in the history
…a-services#933)

Signed-off-by: Wen Zhou <wenzhou@redhat.com>
  • Loading branch information
zdtsw committed Apr 23, 2024
1 parent 64b6f98 commit c8c4e26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/dashboard/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@ func (d *Dashboard) deployConsoleLink(cli client.Client, owner metav1.Object, pl
}

enabled := d.ManagementState == operatorv1.Managed
if err := deploy.DeployManifestsFromPath(cli, owner, PathConsoleLink, namespace, componentName, enabled); err != nil {
return fmt.Errorf("failed to set dashboard consolelink %s : %w", pathConsoleLink, err)
if err := deploy.DeployManifestsFromPath(cli, owner, manifestsPath, namespace, componentName, enabled); err != nil {
return fmt.Errorf("failed to set dashboard consolelink from %s: %w", manifestsPath, err)
}

return nil
Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ require (
go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5 // indirect
go.uber.org/atomic v1.10.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.26.0 // indirect
golang.org/x/net v0.21.0 // indirect
golang.org/x/oauth2 v0.17.0 // indirect
golang.org/x/sys v0.17.0 // indirect
Expand Down

0 comments on commit c8c4e26

Please sign in to comment.