Skip to content

Commit

Permalink
removing project prefix requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
aronchick committed Oct 14, 2024
1 parent 8fefb8a commit dec40a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/models/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func NewDeployment() (*Deployment, error) {
l := logger.Get()
projectPrefix := viper.GetString("general.project_prefix")
if projectPrefix == "" {
return nil, fmt.Errorf("general.project_prefix is not set")
projectPrefix = "andaime"
}
uniqueID := fmt.Sprintf("u%s", time.Now().Format("0601021504"))
projectID := projectPrefix + "-" + uniqueID
Expand Down

0 comments on commit dec40a8

Please sign in to comment.