Skip to content

Commit 44adcef

Browse files
Fix git protocol (#29)
The `git://` protocol was deprecated in March 15, 2022. If you change the protocol to `https://` vmq-operator will work again.
1 parent f8c0f64 commit 44adcef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/controller/vernemq/deployment.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,15 @@ func makeDeploymentSpec(instance *vernemqv1alpha1.VerneMQ) *appsv1.DeploymentSpe
9595
func makeBundlerConfig(instance *vernemqv1alpha1.VerneMQ) string {
9696
config := `
9797
{plugins, [
98-
{rebar3_cargo, {git, "git://github.com/benoitc/rebar3_cargo", {ref, "379115f"}}}
98+
{rebar3_cargo, {git, "https://github.com/benoitc/rebar3_cargo", {ref, "379115f"}}}
9999
]}.
100100
{deps, [
101101
`
102102
for _, p := range instance.Spec.ExternalPlugins {
103103
config = config + fmt.Sprintf("{%s, {git, \"%s\", {%s, \"%s\"}}},\n", p.ApplicationName, p.RepoURL, p.VersionType, p.Version)
104104
}
105105
config = config + `
106-
{vmq_k8s, {git, "git://github.com/vernemq/vmq-operator", {branch, "master"}}}
106+
{vmq_k8s, {git, "https://github.com/vernemq/vmq-operator", {branch, "master"}}}
107107
]}.
108108
`
109109
return config

0 commit comments

Comments
 (0)