Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Commit

Permalink
fix delete command
Browse files Browse the repository at this point in the history
  • Loading branch information
kyessenov committed Aug 17, 2017
1 parent 338b1cb commit 733b8f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/istioctl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,9 @@ istioctl mixer command documentation.
}
var errs error
for _, config := range varr {
if config.Namespace == "" {
config.Namespace = namespace
}
// compute key if necessary
if err = configClient.Delete(config.Type, config.Name, config.Namespace); err != nil {
errs = multierror.Append(errs, fmt.Errorf("cannot delete %s: %v", config.Key(), err))
Expand Down

0 comments on commit 733b8f0

Please sign in to comment.