Skip to content

Commit

Permalink
imageregistry: adjust return consistency (#828)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebrandon1 authored Dec 19, 2024
1 parent 473ca6a commit a592efc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/imageregistry/imageregistry.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func Pull(apiClient *clients.Settings, imageRegistryObjName string) (*Builder, e
glog.V(100).Infof(
"Pulling imageRegistry object name: %s", imageRegistryObjName)

builder := Builder{
builder := &Builder{
apiClient: apiClient.Client,
Definition: &imageregistryv1.Config{
ObjectMeta: metav1.ObjectMeta{
Expand All @@ -63,7 +63,7 @@ func Pull(apiClient *clients.Settings, imageRegistryObjName string) (*Builder, e

builder.Definition = builder.Object

return &builder, nil
return builder, nil
}

// Get fetches existing imageRegistry from cluster.
Expand Down

0 comments on commit a592efc

Please sign in to comment.