Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksandr Zimin <[email protected]>
  • Loading branch information
AleksZimin committed Dec 5, 2024
1 parent db6ffba commit 1f9a457
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions images/agent/src/internal/controller/bd/discoverer.go
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,7 @@ func configureBlockDeviceLabels(blockDevice v1alpha1.BlockDevice) map[string]str
}

slug.Lowercase = false
slug.MaxLength = 63
lbls[internal.MetadataNameLabelKey] = slug.Make(blockDevice.ObjectMeta.Name)
lbls[internal.HostNameLabelKey] = slug.Make(blockDevice.Status.NodeName)
lbls[internal.BlockDeviceTypeLabelKey] = slug.Make(blockDevice.Status.Type)
Expand Down

0 comments on commit 1f9a457

Please sign in to comment.