blackducksoftware / synopsys-operator

Archived and moved this to https://github.com/blackducksoftware/synopsysctl
Apache License 2.0
10 stars 14 forks source link

fix bad error from missing release #1318

Closed mphammer closed 4 years ago

mphammer commented 4 years ago

Old Error:

$ ./synopsysctl get bdba -n mybdba
ERRO[0000] synopsyctl failed: failed to get BDBA values: failed to run get: release: not found
helm.sh/helm/v3/pkg/storage/driver.init
    /Users/hammer/go/pkg/mod/helm.sh/helm/v3@v3.1.1/pkg/storage/driver/driver.go:27
runtime.doInit
    /usr/local/Cellar/go/1.13.8/libexec/src/runtime/proc.go:5222
runtime.doInit
    /usr/local/Cellar/go/1.13.8/libexec/src/runtime/proc.go:5217
runtime.doInit
    /usr/local/Cellar/go/1.13.8/libexec/src/runtime/proc.go:5217
runtime.doInit
    /usr/local/Cellar/go/1.13.8/libexec/src/runtime/proc.go:5217
runtime.doInit
    /usr/local/Cellar/go/1.13.8/libexec/src/runtime/proc.go:5217
runtime.doInit
    /usr/local/Cellar/go/1.13.8/libexec/src/runtime/proc.go:5217
runtime.doInit
    /usr/local/Cellar/go/1.13.8/libexec/src/runtime/proc.go:5217
runtime.doInit
    /usr/local/Cellar/go/1.13.8/libexec/src/runtime/proc.go:5217
runtime.doInit
    /usr/local/Cellar/go/1.13.8/libexec/src/runtime/proc.go:5217
runtime.main
    /usr/local/Cellar/go/1.13.8/libexec/src/runtime/proc.go:190
runtime.goexit
    /usr/local/Cellar/go/1.13.8/libexec/src/runtime/asm_amd64.s:1357

New Error:

$ ./synopsysctl get bdba -n mybdba
ERRO[0000] synopsyctl failed: failed to get BDBA values: bdba does not exist in namespace mybdba
msenmurugan commented 4 years ago

/lgtm

operator-r2d2 commented 4 years ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mphammer, msenmurugan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/blackducksoftware/synopsys-operator/blob/release-2020.3.0/OWNERS)~~ [mphammer,msenmurugan] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
msenmurugan commented 4 years ago

/cherrypick develop

operator-r2d2 commented 4 years ago

@msenmurugan: once the present PR merges, I will cherry-pick it on top of develop in a new PR and assign it to you.

In response to [this](https://github.com/blackducksoftware/synopsys-operator/pull/1318#issuecomment-608035866): >/cherrypick develop Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
operator-r2d2 commented 4 years ago

@msenmurugan: new pull request created: #1319

In response to [this](https://github.com/blackducksoftware/synopsys-operator/pull/1318#issuecomment-608035866): >/cherrypick develop Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.