Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Fredrik Skogman <[email protected]>
  • Loading branch information
kommendorkapten committed Dec 22, 2023
1 parent 3c28aaf commit a4c8096
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/tuf/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ func (c *Client) Refresh() error {
cfg.LastTimestamp = time.Now()
// ignore error writing update config file
_ = cfg.Persist(c.configPath())

return nil
}

Expand Down
1 change: 1 addition & 0 deletions pkg/tuf/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,6 @@ func (c *Config) Persist(p string) error {
if err != nil {
return fmt.Errorf("failed to write config: %w", err)
}

return nil
}

0 comments on commit a4c8096

Please sign in to comment.