Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Lewi committed Jun 11, 2020
1 parent b4ceeaa commit 29b19d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/mirror/mirror_image.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ func (rt *ReplicateTasks) processKustomizeDir(absPath string, registry string, i

p := path.Join(absPath, r)

if b, err :=utils.IsRemoteFile(p); b || err != nil {
if b, err := utils.IsRemoteFile(p); b || err != nil {
if err != nil {
log.Infof("Skipping path %v; there was an error determining if it was a local file; error: %v", p, err)
continue
Expand All @@ -227,7 +227,7 @@ func (rt *ReplicateTasks) processKustomizeDir(absPath string, registry string, i
for _, r := range kustomization.Bases {
p := path.Join(absPath, r)

if b, err :=utils.IsRemoteFile(p); b || err != nil {
if b, err := utils.IsRemoteFile(p); b || err != nil {
if err != nil {
log.Infof("Skipping path %v; there was an error determining if it was a local file; error: %v", p, err)
continue
Expand Down

0 comments on commit 29b19d7

Please sign in to comment.