mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
switch to filter after upgrading helm binary (#10596)
This commit is contained in:
parent
24c9959ca4
commit
3fd696d6b5
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ export default class KubernetesHelmApplicationController {
|
|||
async getHelmApplication() {
|
||||
try {
|
||||
this.state.dataLoading = true;
|
||||
const releases = await this.HelmService.listReleases(this.endpoint.Id, { selector: `name=${this.state.params.name}`, namespace: this.state.params.namespace });
|
||||
const releases = await this.HelmService.listReleases(this.endpoint.Id, { filter: `^${this.state.params.name}$`, namespace: this.state.params.namespace });
|
||||
if (releases.length > 0) {
|
||||
this.state.release = releases[0];
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue