Skip to content

Commit 3ea4669

Browse files
authored
fix: the name should be iotdb instead of orm (#2)
Co-authored-by: rick <[email protected]>
1 parent 5746dd6 commit 3ea4669

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ jobs:
5656
run: |
5757
export TAG=${{ steps.vars.outputs.tag }}
5858
cd dist
59-
oras push ${{ env.REGISTRY_DOCKERHUB }}/linuxsuren/atest-ext-store-orm:${TAG#v} */*
60-
oras push ${{ env.REGISTRY }}/linuxsuren/atest-ext-store-orm:${TAG#v} */*
59+
oras push ${{ env.REGISTRY_DOCKERHUB }}/linuxsuren/atest-ext-store-iotdb:${TAG#v} */*
60+
oras push ${{ env.REGISTRY }}/linuxsuren/atest-ext-store-iotdb:${TAG#v} */*
6161
6262
image:
6363
runs-on: ubuntu-20.04

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424

2525
func NewRootCommand() (c *cobra.Command) {
2626
opt := &option{
27-
Extension: ext.NewExtension("orm", "store", 7071),
27+
Extension: ext.NewExtension("iotdb", "store", 7071),
2828
}
2929
c = &cobra.Command{
3030
Use: opt.GetFullName(),

cmd/root_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func TestRootCommand(t *testing.T) {
3737
t.Run("invalid port", func(t *testing.T) {
3838
c := NewRootCommand()
3939
c.SetOut(io.Discard)
40-
assert.Equal(t, "atest-store-orm", c.Use)
40+
assert.Equal(t, "atest-store-iotdb", c.Use)
4141

4242
c.SetArgs([]string{"--port", "abc"})
4343
err := c.Execute()

0 commit comments

Comments
 (0)