Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.6] [Backport]Add github action to publish snapshots to maven #720

Merged
merged 2 commits into from
Feb 22, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import org.opensearch.common.xcontent.ObjectParser
import org.opensearch.common.xcontent.ToXContent
import org.opensearch.common.xcontent.XContentBuilder
import org.opensearch.common.xcontent.XContentParser
import org.opensearch.common.xcontent.XContentType
import org.opensearch.index.Index
import org.opensearch.persistent.PersistentTaskParams
import java.io.IOException
Expand Down Expand Up @@ -80,6 +81,6 @@ class IndexReplicationParams : PersistentTaskParams {
}

override fun toString(): String {
return Strings.toString(this)
return Strings.toString(XContentType.JSON, this)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import org.opensearch.common.xcontent.ObjectParser
import org.opensearch.common.xcontent.ToXContent
import org.opensearch.common.xcontent.XContentBuilder
import org.opensearch.common.xcontent.XContentParser
import org.opensearch.common.xcontent.XContentType
import org.opensearch.index.shard.ShardId
import org.opensearch.persistent.PersistentTaskParams
import java.io.IOException
Expand Down Expand Up @@ -84,7 +85,7 @@ class ShardReplicationParams : PersistentTaskParams {
}

override fun toString(): String {
return Strings.toString(this)
return Strings.toString(XContentType.JSON, this)
}

class Builder {
Expand Down Expand Up @@ -122,4 +123,4 @@ class ShardReplicationParams : PersistentTaskParams {
followerShardIdObj.id))
}
}
}
}