cmd: fixed typo and removed solved TODO msg

Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
Sam Alba 2021-04-14 16:25:10 -07:00
parent bbeff0eddb
commit 7ed616c772
2 changed files with 1 additions and 3 deletions

View File

@ -22,7 +22,7 @@ var downCmd = &cobra.Command{
}
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 {
panic(err)

View File

@ -29,8 +29,6 @@ var upCmd = &cobra.Command{
}
state := common.GetCurrentDeploymentState(ctx, store)
// TODO: Implement options: --no-cache
result := common.DeploymentUp(ctx, state, viper.GetBool("no-cache"))
state.Computed = result.Computed().JSON().String()
if err := store.UpdateDeployment(ctx, state, nil); err != nil {