Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

Spec with defaults #86

Merged
merged 3 commits into from
Jun 22, 2017
Merged

Spec with defaults #86

merged 3 commits into from
Jun 22, 2017

Conversation

ash2k
Copy link
Contributor

@ash2k ash2k commented Jun 22, 2017

Fixes #84. There is more work to do to make it handle special fields properly.

@ash2k ash2k added the bug label Jun 22, 2017
@ash2k ash2k added this to the v1.0 milestone Jun 22, 2017
@ash2k ash2k self-assigned this Jun 22, 2017
@ash2k ash2k requested a review from nilebox June 22, 2017 01:44
@ash2k ash2k mentioned this pull request Jun 22, 2017
@@ -114,7 +114,7 @@ func (a *App) Run(ctx context.Context) error {
}

queue := workqueue.NewNamedRateLimitingQueue(workqueue.DefaultControllerRateLimiter(), "bundle")
cntrlr := controller.New(bundleInf, tprInf, bundleClient, bs, sc, rc, scheme.DeepCopy, rawStore, queue, a.Workers, a.ResyncPeriod, resourceInfs)
cntrlr := controller.New(bundleInf, tprInf, bundleClient, bs, sc, rc, scheme, rawStore, queue, a.Workers, a.ResyncPeriod, resourceInfs)
Copy link
Contributor

Choose a reason for hiding this comment

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

too many arguments for a method :/

@@ -176,6 +176,12 @@ func (bs *BundleStatus) ShortString() string {
buf.WriteString(cond.Reason)
buf.WriteByte('"')
}
if cond.Message != "" {
buf.WriteByte(' ')
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't it better to write the result of fmt.Sprintf()? It would make it more readable

@ash2k ash2k merged commit 39dc399 into master Jun 22, 2017
@ash2k ash2k deleted the spec-with-defaults branch June 22, 2017 10:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants