Skip to content

Commit

Permalink
add comment for isNoSuchKeyError
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenruizdegauna committed Mar 3, 2025
1 parent 1b5c84e commit 27048d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions publisher/release/marker_aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ func (s *markerAWS) Start(releaseInfo ReleaseInfo) (Mark, error) {
s.logfn("[marker] starting %s", releaseInfo.AppName)
markers, err := s.readMarkers()
if err != nil {
// Do not return error if the file does not exist. The first time we will create a new one.
if !isNoSuchKeyError(err) {
return Mark{}, err
}
Expand Down

0 comments on commit 27048d7

Please sign in to comment.