Skip to content

Commit

Permalink
Merge pull request containerd#10511 from k8s-infra-cherrypick-robot/c…
Browse files Browse the repository at this point in the history
…herry-pick-10503-to-release/1.6

[release/1.6] introspection: regenerate UUID if state is empty
  • Loading branch information
estesp authored Jul 26, 2024
2 parents d157b85 + a4846fc commit 881a788
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions services/introspection/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ func (l *Local) getUUID() (string, error) {
}
return "", err
}
if len(data) == 0 {
return l.generateUUID()
}
u := string(data)
if _, err := uuid.Parse(u); err != nil {
return "", err
Expand Down

0 comments on commit 881a788

Please sign in to comment.