Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
muhamadazmy committed Oct 23, 2023
1 parent 5f0c49a commit d6fe4a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 61 deletions.
6 changes: 3 additions & 3 deletions pkg/upgrade/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ var (

// services that can't be uninstalled with normal procedure
protected = []string{"identityd", "redis"}

flistIdentityPath = "/bin/identityd"
)

const (
Expand Down Expand Up @@ -149,7 +147,9 @@ func (u *Upgrader) Run(ctx context.Context) error {
}
// to avoid redoing the binary installation
// when service is restarted
app.MarkBooted(service)
if err := app.MarkBooted(service); err != nil {
return errors.Wrap(err, "failed to mark system as booted")
}

log.Info().Msg("update is disabled")
<-ctx.Done()
Expand Down
58 changes: 0 additions & 58 deletions pkg/upgrade/utils.go

This file was deleted.

0 comments on commit d6fe4a1

Please sign in to comment.