Skip to content

Commit

Permalink
fixing go lint url
Browse files Browse the repository at this point in the history
  • Loading branch information
prima101112 committed Mar 17, 2024
1 parent faf11c1 commit a30b4b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/image/remote/remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func extractPathFromRegistryURL(regFullURL string) (string, string) {
// Join all segments except the first one (which is typically empty)
path := strings.Join(segments[1:], "/")
// get the fist segment to get the registry url
regUrl := segments[0]
regURL := segments[0]

return path, regUrl
return path, regURL
}

0 comments on commit a30b4b6

Please sign in to comment.