Skip to content

Commit 8b46157

Browse files
author
OpenShift Bot
authored
Merge pull request #11163 from guilhermebr/fix_fake_buildconfigs
Merged by openshift-bot
2 parents a326aae + 762889c commit 8b46157

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/client/testclient/fake_buildconfigs.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func (c *FakeBuildConfigs) WebHookURL(name string, trigger *buildapi.BuildTrigge
7777
}
7878

7979
func (c *FakeBuildConfigs) Instantiate(request *buildapi.BuildRequest) (result *buildapi.Build, err error) {
80-
action := ktestclient.NewCreateAction("buildconfigs", c.Namespace, request)
80+
action := ktestclient.NewCreateAction("builds", c.Namespace, request)
8181
action.Subresource = "instantiate"
8282
obj, err := c.Fake.Invokes(action, &buildapi.Build{})
8383
if obj == nil {
@@ -88,7 +88,7 @@ func (c *FakeBuildConfigs) Instantiate(request *buildapi.BuildRequest) (result *
8888
}
8989

9090
func (c *FakeBuildConfigs) InstantiateBinary(request *buildapi.BinaryBuildRequestOptions, r io.Reader) (result *buildapi.Build, err error) {
91-
action := ktestclient.NewCreateAction("buildconfigs", c.Namespace, request)
91+
action := ktestclient.NewCreateAction("builds", c.Namespace, request)
9292
action.Subresource = "instantiatebinary"
9393
obj, err := c.Fake.Invokes(action, &buildapi.Build{})
9494
if obj == nil {

0 commit comments

Comments
 (0)