Skip to content

Commit

Permalink
Merge branch 'main' of github.com:opengovern/og-describer-github into…
Browse files Browse the repository at this point in the history
… feat-add_base_image
  • Loading branch information
acx1729 committed Dec 23, 2024
2 parents b6f8966 + 4320c43 commit 7b79876
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ og-describer-template
local/
output.json
.vscode
.vscode/*
.vscode/*

output.json
2 changes: 1 addition & 1 deletion pkg/describer/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func Do(ctx context.Context,
if err != nil {
return nil, fmt.Errorf("decrypt error: %w", err)
}
logger.Info("decrypted config", zap.Any("config", config))
// logger.Info("decrypted config", zap.Any("config", config))

return doDescribe(ctx, logger, job, config, grpcEndpoint, ingestionPipelineEndpoint, describeDeliverToken, useOpenSearch)
}
Expand Down
4 changes: 2 additions & 2 deletions provider/describer/container_package.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ func fetchAndAssembleOutput(
Username: "github",
Password: apiToken,
})

ref, err := name.ParseReference(imageRef)
imageRef = strings.ToLower(imageRef)
ref, err := name.ParseReference(imageRef,name.WeakValidation)
if err != nil {
return model.ContainerPackageDescription{},
fmt.Errorf("error parsing reference %s: %w", imageRef, err)
Expand Down

0 comments on commit 7b79876

Please sign in to comment.