Skip to content

Commit

Permalink
Fix hardware_type may be truncated in sqlserver input (influxdata#4750)
Browse files Browse the repository at this point in the history
  • Loading branch information
tboggiano authored and Mathieu Lecarme committed Apr 17, 2020
1 parent b72dfc7 commit db4bd26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/inputs/sqlserver/sqlserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ const sqlServerPropertiesV2 = `DECLARE @sys_info TABLE (
server_memory BIGINT,
sku NVARCHAR(64),
engine_edition SMALLINT,
hardware_type VARCHAR(15),
hardware_type VARCHAR(16),
total_storage_mb BIGINT,
available_storage_mb BIGINT,
uptime INT
Expand Down

0 comments on commit db4bd26

Please sign in to comment.