You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// idempotent API when called with same key, should return same object
subsys, ok := s.Nvme.Subsystems[in.NvmeSubsystem.Spec.Name]
if ok {
log.Printf("Already existing NvmeSubsystem with id %v", in.NvmeSubsystem.Spec.Name)
return subsys, nil
}
instead of s.Nvme.Subsystems map, we can use actual database like redis
The text was updated successfully, but these errors were encountered:
example:
instead of
s.Nvme.Subsystems
map, we can use actual database like redisThe text was updated successfully, but these errors were encountered: