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

Introduce config metadata #1049

Merged
merged 7 commits into from
Aug 17, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix delete command
  • Loading branch information
kyessenov committed Aug 17, 2017
commit 733b8f0b30a83941901e02c046474e3f25a1c7f7
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