Skip to content

Commit

Permalink
Fix copyright year in new file and add comment to exported function
Browse files Browse the repository at this point in the history
  • Loading branch information
dwnusbaum authored and knative-prow-robot committed Feb 12, 2019
1 parent beda1f8 commit 6ac1ceb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions test/builder/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ func Build(name, namespace string, ops ...BuildOp) *buildv1alpha1.Build {
return build
}

// BuildLabel adds a label to the Build.
func BuildLabel(key, value string) BuildOp {
return func(build *buildv1alpha1.Build) {
if build.ObjectMeta.Labels == nil {
Expand Down
2 changes: 1 addition & 1 deletion test/builder/owner_reference.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2018 The Knative Authors
Copyright 2019 The Knative Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down

0 comments on commit 6ac1ceb

Please sign in to comment.