Skip to content

Commit

Permalink
fix(dashboard): wrong path for consolelink in downstream (opendatahub…
Browse files Browse the repository at this point in the history
…-io#933)

Signed-off-by: Wen Zhou <wenzhou@redhat.com>
  • Loading branch information
zdtsw authored Mar 22, 2024
1 parent 96096cb commit 53fe6d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/dashboard/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,9 @@ func (d *Dashboard) deployConsoleLink(cli client.Client, owner metav1.Object, pl
}

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

return nil
Expand Down

0 comments on commit 53fe6d1

Please sign in to comment.