Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/controller/configuration/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func (c *Controller) createRevision(config *v1alpha1.Configuration, revName stri
build := &buildv1alpha1.Build{
ObjectMeta: metav1.ObjectMeta{
Namespace: config.Namespace,
GenerateName: fmt.Sprintf("%s-", config.Name),
Name: revName,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did this change?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the PR description / commit message:

This also changes the way we create Build names to more easily test it (mirrors what we do for Revision today).

OwnerReferences: []metav1.OwnerReference{*controllerRef},
},
Spec: *config.Spec.Build,
Expand Down
Loading