Appease the linters.
This commit is contained in:
parent
b96217341f
commit
7782a83030
|
@ -32,7 +32,7 @@ func newStackImportCmd() *cobra.Command {
|
||||||
}
|
}
|
||||||
|
|
||||||
var deployment json.RawMessage
|
var deployment json.RawMessage
|
||||||
if err := json.NewDecoder(os.Stdin).Decode(&deployment); err != nil {
|
if err = json.NewDecoder(os.Stdin).Decode(&deployment); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ type Stack interface {
|
||||||
Update(debug bool, opts engine.DeployOptions) error // update this stack.
|
Update(debug bool, opts engine.DeployOptions) error // update this stack.
|
||||||
Destroy(debug bool, opts engine.DestroyOptions) error // destroy this stack's resources.
|
Destroy(debug bool, opts engine.DestroyOptions) error // destroy this stack's resources.
|
||||||
GetLogs(query operations.LogQuery) ([]operations.LogEntry, error) // list log entries for this stack.
|
GetLogs(query operations.LogQuery) ([]operations.LogEntry, error) // list log entries for this stack.
|
||||||
ExportDeployment() (json.RawMessage, error) // export this stack's deployment as an opaque JSON message.
|
ExportDeployment() (json.RawMessage, error) // export this stack's deployment.
|
||||||
ImportDeployment(json.RawMessage) error // import the given deployment into this stack.
|
ImportDeployment(json.RawMessage) error // import the given deployment into this stack.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue