Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Remove replicas from main app struct #149

Merged
merged 1 commit into from
Jul 13, 2017

Conversation

surajssd
Copy link
Member

Since we are already embedding DeploymentSpec in App struct we don't need Replicas anymore, this was added when we never had any field to specify replicas.

Fixes #100

@surajssd surajssd requested a review from concaf July 12, 2017 08:14
@kedge-bot
Copy link
Collaborator

@surajssd, thank you for the pull request! We'll ping some people to review your PR. @cdrage, @kadel and @containscafeine, please review this.

@kedge-bot kedge-bot requested review from cdrage and kadel July 12, 2017 08:14
@@ -21,10 +21,9 @@ import (
"io"
"os/exec"

"github.com/ghodss/yaml"
Copy link
Member

Choose a reason for hiding this comment

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

This constant changing order of imports is starting to get messy.

We should do something with it.

Can we agree on having 3 blocks of imports, stdlib, gihtub.com/kedgeproject/kedge, and other?

Copy link
Member

Choose a reason for hiding this comment

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

Other being 3rd party libraries? If so, then +1. Have followed that in previous projects. Totally makes sense. This policy, if agreed upon, should go into the development doc.

Copy link
Member

Choose a reason for hiding this comment

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

yep, by other I meant 3rd party libs

Copy link
Member

Choose a reason for hiding this comment

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

or it can be stdlib, 3rd party, our packages
important is that we keep the same order in all the files

Copy link
Member

Choose a reason for hiding this comment

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

Agreed.

Since we are already embedding DeploymentSpec in App struct
we don't need Replicas anymore, this was added when
we never had any field to specify replicas.
@surajssd
Copy link
Member Author

@kadel arranged the imports as you asked:

stdlib
kedge
thirdparty

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants