Skip to content

Commit

Permalink
remove todo
Browse files Browse the repository at this point in the history
Signed-off-by: gauron99 <[email protected]>
  • Loading branch information
gauron99 committed Feb 20, 2024
1 parent 483bd36 commit 53ce561
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/functions/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,6 @@ func (c *Client) Deploy(ctx context.Context, f Function, opts ...DeployOption) (
// If Redeployment to NEW namespace was successful -- undeploy dangling Function in old namespace.
// On forced namespace change (using --namespace flag)
if f.Namespace != "" && f.Namespace != f.Deploy.Namespace && f.Deploy.Namespace != "" {
// TODO: when new prompt is implemented, add here a "are you sure?" check possibly
if c.verbose {
fmt.Fprintf(os.Stderr, "Info: Deleting old func in '%s' because the namespace has changed to '%s'\n", f.Deploy.Namespace, f.Namespace)
}
Expand Down

0 comments on commit 53ce561

Please sign in to comment.