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() {
|
||||
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)
|
||||
|
@ -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 {
|
||||
|
Reference in New Issue
Block a user