Skip to content

Commit 4bfe2bf

Browse files
committed
Rename internal registry service pkg
1 parent 01a260a commit 4bfe2bf

23 files changed

Lines changed: 35 additions & 30 deletions

command/core_wrapper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package command
22

33
import (
44
"github.com/hashicorp/hcl/v2"
5-
packerregistry "github.com/hashicorp/packer/internal/packer_registry"
5+
packerregistry "github.com/hashicorp/packer/internal/registry"
66
"github.com/hashicorp/packer/packer"
77
plugingetter "github.com/hashicorp/packer/packer/plugin-getter"
88
)

hcl2template/common_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/hashicorp/packer-plugin-sdk/template/config"
1414
"github.com/hashicorp/packer/builder/null"
1515
. "github.com/hashicorp/packer/hcl2template/internal"
16-
packerregistry "github.com/hashicorp/packer/internal/packer_registry"
16+
packerregistry "github.com/hashicorp/packer/internal/registry"
1717
"github.com/hashicorp/packer/packer"
1818
"github.com/zclconf/go-cty/cty"
1919
)

hcl2template/registry.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package hcl2template
22

33
import (
44
"github.com/hashicorp/hcl/v2"
5-
packerregistry "github.com/hashicorp/packer/internal/packer_registry"
5+
packerregistry "github.com/hashicorp/packer/internal/registry"
66
)
77

88
// ConfiguredArtifactMetadataPublisher returns a configured image bucket that can be used for publishing

hcl2template/types.build.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"github.com/hashicorp/hcl/v2"
77
"github.com/hashicorp/hcl/v2/gohcl"
88
"github.com/hashicorp/hcl/v2/hclsyntax"
9-
packerregistry "github.com/hashicorp/packer/internal/packer_registry"
10-
"github.com/hashicorp/packer/internal/packer_registry/env"
9+
packerregistry "github.com/hashicorp/packer/internal/registry"
10+
"github.com/hashicorp/packer/internal/registry/env"
1111
)
1212

1313
const (

hcl2template/types.build.hcp_packer_registry.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55

66
"github.com/hashicorp/hcl/v2"
77
"github.com/hashicorp/hcl/v2/gohcl"
8-
packerregistry "github.com/hashicorp/packer/internal/packer_registry"
8+
packerregistry "github.com/hashicorp/packer/internal/registry"
99
)
1010

1111
type HCPPackerRegistryBlock struct {

hcl2template/types.build.hcp_packer_registry_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"testing"
66

77
packersdk "github.com/hashicorp/packer-plugin-sdk/packer"
8-
"github.com/hashicorp/packer/internal/packer_registry"
8+
packer_registry "github.com/hashicorp/packer/internal/registry"
99
"github.com/hashicorp/packer/packer"
1010
)
1111

hcl2template/types.packer_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/hashicorp/hcl/v2/hclsyntax"
1212
packersdk "github.com/hashicorp/packer-plugin-sdk/packer"
1313
pkrfunction "github.com/hashicorp/packer/hcl2template/function"
14-
packerregistry "github.com/hashicorp/packer/internal/packer_registry"
14+
packerregistry "github.com/hashicorp/packer/internal/registry"
1515
"github.com/hashicorp/packer/packer"
1616
"github.com/zclconf/go-cty/cty"
1717
"github.com/zclconf/go-cty/cty/function"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package packer_registry
1+
package registry
22

33
import (
44
"fmt"
@@ -8,7 +8,7 @@ import (
88
projectSvc "github.com/hashicorp/hcp-sdk-go/clients/cloud-resource-manager/preview/2019-12-10/client/project_service"
99
rmmodels "github.com/hashicorp/hcp-sdk-go/clients/cloud-resource-manager/preview/2019-12-10/models"
1010
"github.com/hashicorp/hcp-sdk-go/httpclient"
11-
"github.com/hashicorp/packer/internal/packer_registry/env"
11+
"github.com/hashicorp/packer/internal/registry/env"
1212
)
1313

1414
// Client is an HCP client capable of making requests on behalf of a service principal

0 commit comments

Comments
 (0)