-
Notifications
You must be signed in to change notification settings - Fork 41
Conversation
pkg/cmd/deploy.go
Outdated
@@ -21,10 +21,9 @@ import ( | |||
"io" | |||
"os/exec" | |||
|
|||
"github.com/ghodss/yaml" |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
91e715e
to
a2dd89a
Compare
@kadel arranged the imports as you asked:
|
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