Skip to content

Commit

Permalink
Merge pull request #92 from TuDoRsU/master
Browse files Browse the repository at this point in the history
add serial number prefix for instance array label
  • Loading branch information
alexcorman authored Aug 29, 2024
2 parents 9a7d787 + 77526a0 commit 347e547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/cmd_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -1698,7 +1698,7 @@ func addServerToInfrastructure(serverID int, infrastructureIDOrLabel *string, ob

serverTypeID := server.ServerTypeID

instanceArrayLabel := server.ServerSerialNumber
instanceArrayLabel := "sn-" + server.ServerSerialNumber

if obj != nil && *obj.InstanceArrayLabel != "" {
instanceArrayLabel = *obj.InstanceArrayLabel
Expand Down

0 comments on commit 347e547

Please sign in to comment.