diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 64bd17f..8598074 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -56,8 +56,8 @@ jobs: run: | export TAG=${{ steps.vars.outputs.tag }} cd dist - oras push ${{ env.REGISTRY_DOCKERHUB }}/linuxsuren/atest-ext-store-orm:${TAG#v} */* - oras push ${{ env.REGISTRY }}/linuxsuren/atest-ext-store-orm:${TAG#v} */* + oras push ${{ env.REGISTRY_DOCKERHUB }}/linuxsuren/atest-ext-store-iotdb:${TAG#v} */* + oras push ${{ env.REGISTRY }}/linuxsuren/atest-ext-store-iotdb:${TAG#v} */* image: runs-on: ubuntu-20.04 diff --git a/cmd/root.go b/cmd/root.go index 6408560..3c78895 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -24,7 +24,7 @@ import ( func NewRootCommand() (c *cobra.Command) { opt := &option{ - Extension: ext.NewExtension("orm", "store", 7071), + Extension: ext.NewExtension("iotdb", "store", 7071), } c = &cobra.Command{ Use: opt.GetFullName(), diff --git a/cmd/root_test.go b/cmd/root_test.go index caa7cb8..c180c66 100644 --- a/cmd/root_test.go +++ b/cmd/root_test.go @@ -37,7 +37,7 @@ func TestRootCommand(t *testing.T) { t.Run("invalid port", func(t *testing.T) { c := NewRootCommand() c.SetOut(io.Discard) - assert.Equal(t, "atest-store-orm", c.Use) + assert.Equal(t, "atest-store-iotdb", c.Use) c.SetArgs([]string{"--port", "abc"}) err := c.Execute()