Skip to content

Commit

Permalink
Renamed DriverConstants.DRIVER_NAME to DriverConstants.DriverName
Browse files Browse the repository at this point in the history
  • Loading branch information
tjoubert committed Dec 6, 2022
1 parent 5a4206a commit 3e968e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arangodb-net-standard/DriverConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ public static class DriverConstants
/// <summary>
/// Name of the driver
/// </summary>
public const string DRIVER_NAME = "arangodb-net-standard";
public const string DriverName = "arangodb-net-standard";
}
}
2 changes: 1 addition & 1 deletion arangodb-net-standard/Transport/Http/HttpApiTransport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ private static void ApplyHeaders(WebHeaderCollection webHeaderCollection, HttpHe
flags = string.Join(";", driverFlags);
}
var assemblyInfo = Assembly.GetCallingAssembly().GetName();
headers.Add(CustomHttpHeaders.DriverInfoHeader, $"{DriverConstants.DRIVER_NAME}/{assemblyInfo.Version} ({flags})");
headers.Add(CustomHttpHeaders.DriverInfoHeader, $"{DriverConstants.DriverName}/{assemblyInfo.Version} ({flags})");
}

/// <summary>
Expand Down

0 comments on commit 3e968e4

Please sign in to comment.