Pretty up the pretty-printer. (#1451)

* Pretty up the pretty-printer.

Signed-off-by: Craig Box <craigb@armosec.io>

* add some text fixes for the Operator also

Signed-off-by: Craig Box <craigb@armosec.io>

* fix another verb

Signed-off-by: Craig Box <craigb@armosec.io>

* fixed unit tests

Signed-off-by: David Wertenteil <dwertent@armosec.io>

* fixed test

Signed-off-by: David Wertenteil <dwertent@armosec.io>

---------

Signed-off-by: Craig Box <craigb@armosec.io>
Signed-off-by: David Wertenteil <dwertent@armosec.io>
Co-authored-by: David Wertenteil <dwertent@armosec.io>
This commit is contained in:
Craig Box
2023-11-01 05:07:43 +13:00
committed by GitHub
parent 3b2feca0dd
commit c9ccef90f3
34 changed files with 201 additions and 140 deletions

View File

@@ -34,7 +34,7 @@ func (fileHandler *FileResourceHandler) GetResources(ctx context.Context, sessio
return nil, nil, nil, nil, fmt.Errorf("missing input")
}
logger.L().Start("Accessing local objects")
logger.L().Start("Accessing local objects...")
// load resources from all input paths
mappedResources := map[string][]workloadinterface.IMetadata{}