Code cleanup from Fission CLI (#2983)

Co-authored-by: yufu huang <yufu.huang@gientech.com>
This commit is contained in:
elastic17
2024-08-12 19:11:56 +05:30
committed by GitHub
co-authored by yufu huang
parent 13abb2e905
commit c6beb29f5a
2 changed files with 1 additions and 5 deletions
@@ -97,9 +97,6 @@ func (opts *UpdateSubCommand) run(input cli.Input) error {
if err != nil {
return errors.Wrap(err, "error updating environment")
}
if err != nil {
return errors.Wrap(err, "error updating environment")
}
fmt.Printf("environment '%v' updated\n", enew.ObjectMeta.Name)
return nil