cmd: fixed typo and removed solved TODO msg
Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
parent
bbeff0eddb
commit
7ed616c772
@ -22,7 +22,7 @@ var downCmd = &cobra.Command{
|
|||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
downCmd.Flags().Bool("--no-cache", false, "Disable all run cache")
|
downCmd.Flags().Bool("no-cache", false, "Disable all run cache")
|
||||||
|
|
||||||
if err := viper.BindPFlags(downCmd.Flags()); err != nil {
|
if err := viper.BindPFlags(downCmd.Flags()); err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
|
@ -29,8 +29,6 @@ var upCmd = &cobra.Command{
|
|||||||
}
|
}
|
||||||
|
|
||||||
state := common.GetCurrentDeploymentState(ctx, store)
|
state := common.GetCurrentDeploymentState(ctx, store)
|
||||||
|
|
||||||
// TODO: Implement options: --no-cache
|
|
||||||
result := common.DeploymentUp(ctx, state, viper.GetBool("no-cache"))
|
result := common.DeploymentUp(ctx, state, viper.GetBool("no-cache"))
|
||||||
state.Computed = result.Computed().JSON().String()
|
state.Computed = result.Computed().JSON().String()
|
||||||
if err := store.UpdateDeployment(ctx, state, nil); err != nil {
|
if err := store.UpdateDeployment(ctx, state, nil); err != nil {
|
||||||
|
Reference in New Issue
Block a user