Skip to content

Commit

Permalink
Make suggested changes
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <[email protected]>
  • Loading branch information
Xtansia committed Oct 13, 2022
1 parent 3f65a0b commit 472707f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion abstractions/src/OpenSearch.Stack.ArtifactsApi/Artifact.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class Artifact
internal Artifact(Product product, Version version, string downloadUrl, ArtifactBuildState state,
string buildHash)
{
ProductName = "opensearch";
ProductName = product?.ProductName ?? "opensearch";
Version = version;
DownloadUrl = product?.PatchDownloadUrl(downloadUrl);
State = state;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public Artifact Artifact(Product product)
/// Resolves an OpenSearch version using either format '$version' or '$ServerType-$version', where version could be 'x.y.z' or 'latest' or even 'latest-x'
/// </summary>
public static OpenSearchVersion From(string managedVersionString) =>
// TODO resolve `latest` and `latest-x` for OpenSearchÏ
// TODO resolve `latest` and `latest-x` for OpenSearch
managedVersionString == null ? null : new OpenSearchVersion(managedVersionString, ArtifactBuildState.Released, "");

public bool InRange(string range)
Expand Down
3 changes: 0 additions & 3 deletions src/OpenSearch.Client/Cluster/NodesInfo/NodeInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ public class NodeInfo
[DataMember(Name = "version")]
public string Version { get; internal set; }

[DataMember(Name = "build_flavor")]
public string BuildFlavor { get; internal set; }

[DataMember(Name = "build_type")]
public string BuildType { get; internal set; }

Expand Down

0 comments on commit 472707f

Please sign in to comment.