Skip to content

Commit

Permalink
fix: fix the getMemory issue for blade adding
Browse files Browse the repository at this point in the history
  • Loading branch information
Meng-20 committed Sep 17, 2024
1 parent f773a93 commit c482448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/manager/blade.go
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ func (b *Blade) initMemory(ctx context.Context) error {
logger.V(4).Info(">>>>>> initMemory: ", "bladeId", b.Id, "applianceId", b.ApplianceId)

memoryIds, err := b.GetMemoryBackend(ctx)
if err != nil || memoryIds == nil {
if err != nil {
newErr := fmt.Errorf("blade [%s] init failed during get memory: %w", b.Id, err)
logger.Error(newErr, "failure: init memory: blade")
return newErr
Expand Down

0 comments on commit c482448

Please sign in to comment.