diff --git a/test/builder/build.go b/test/builder/build.go index cf450f83316..da5ec2aef2b 100644 --- a/test/builder/build.go +++ b/test/builder/build.go @@ -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 { diff --git a/test/builder/owner_reference.go b/test/builder/owner_reference.go index 7ace12aa40f..3bff56814a4 100644 --- a/test/builder/owner_reference.go +++ b/test/builder/owner_reference.go @@ -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