Skip to content

Commit

Permalink
fix: mark RegistryConfig.Registry as required (#3556)
Browse files Browse the repository at this point in the history
Required, because it does not work without it
  • Loading branch information
jvmakine authored Nov 28, 2024
1 parent 547598c commit 2907132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/controller/artefacts/oci_registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
var _ Service = &OCIArtefactService{}

type RegistryConfig struct {
Registry string `help:"OCI container registry, in the form host[:port]/repository" env:"FTL_ARTEFACT_REGISTRY"`
Registry string `help:"OCI container registry, in the form host[:port]/repository" env:"FTL_ARTEFACT_REGISTRY" required:""`
Username string `help:"OCI container registry username" env:"FTL_ARTEFACT_REGISTRY_USERNAME"`
Password string `help:"OCI container registry password" env:"FTL_ARTEFACT_REGISTRY_PASSWORD"`
AllowInsecure bool `help:"Allows the use of insecure HTTP based registries." env:"FTL_ARTEFACT_REGISTRY_ALLOW_INSECURE"`
Expand Down

0 comments on commit 2907132

Please sign in to comment.