GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: workaround podman bug wrt error reporting (#3477) · knative/func@81033a9

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • pkg/docker
    • pusher.go
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎pkg/docker/pusher.go‎

Copy file name to clipboardExpand all lines: pkg/docker/pusher.go
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ func (n *Pusher) pushImage(ctx context.Context, f fn.Function, credentials oci.C
194194
errStr := err.Error()
195195
if strings.Contains(errStr, "no such host") ||
196196
strings.Contains(errStr, "failure in name resolution") ||
197-
regexp.MustCompile(`lookup .*: server misbehaving`).MatchString(errStr) {
197+
regexp.MustCompile(`lookup .*: server misbehaving`).MatchString(errStr) ||
198+
regexp.MustCompile(`500.*but provided no error-message`).MatchString(errStr) {
198199
// push with custom transport to be able to push into cluster private registries
199200
return n.push(ctx, f, credentials, output)
200201
}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.