mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
Improve error message and fix typo in iampolicygenerator module name
This commit is contained in:
@@ -34,7 +34,7 @@ func (e *Editor) run(args ...string) error {
|
|||||||
if e.doIt {
|
if e.doIt {
|
||||||
out, err := c.CombinedOutput()
|
out, err := c.CombinedOutput()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("%s out=%q", err.Error(), out)
|
return fmt.Errorf("failed to run go mod command in %s: %s (stdout=%q)", e.module.ShortName(), err.Error(), out)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
fmt.Printf("in %-60s; %s\n", c.Dir, c.String())
|
fmt.Printf("in %-60s; %s\n", c.Dir, c.String())
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
module sigs.k8s.io/kustomize/plugin/builtin/iampolicypgenerator
|
module sigs.k8s.io/kustomize/plugin/builtin/iampolicygenerator
|
||||||
|
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user