Skip to content

Commit

Permalink
rebase to latest commit
Browse files Browse the repository at this point in the history
  • Loading branch information
auddin431 committed Dec 19, 2024
1 parent ba0eaaf commit e916573
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions internal/cli/streams/processor/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage"
"github.com/spf13/afero"
"github.com/spf13/cobra"
atlasv2 "go.mongodb.org/atlas-sdk/v20241113001/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241113004/admin"
)

var createTemplate = "Processor {{.Name}} created.\n"

type CreateOpts struct {
cli.GlobalOpts
cli.ProjectOpts
cli.OutputOpts
streamsInstance string
processorName string
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/streams/processor/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/spf13/afero"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
atlasv2 "go.mongodb.org/atlas-sdk/v20241113001/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241113004/admin"
)

func TestCreateOpts_Run(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/streams/processor/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

type DeleteOpts struct {
cli.GlobalOpts
cli.ProjectOpts
*cli.DeleteOpts
streamsInstance string
store store.ProcessorDeleter
Expand Down
4 changes: 2 additions & 2 deletions internal/cli/streams/processor/describe.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage"
"github.com/spf13/cobra"
atlasv2 "go.mongodb.org/atlas-sdk/v20241113001/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241113004/admin"
)

const jsonOutput = "json"

type DescribeOpts struct {
cli.GlobalOpts
cli.ProjectOpts
cli.OutputOpts
streamsInstance string
processorName string
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/streams/processor/describe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks"
"github.com/stretchr/testify/assert"
atlasv2 "go.mongodb.org/atlas-sdk/v20241113001/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241113004/admin"
)

func TestDescribeOpts_Run(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions internal/cli/streams/processor/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage"
"github.com/spf13/cobra"
atlasv2 "go.mongodb.org/atlas-sdk/v20241113001/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241113004/admin"
)

type ListOpts struct {
cli.GlobalOpts
cli.ProjectOpts
cli.OutputOpts
cli.ListOpts
streamsInstance string
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/streams/processor/list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/cli"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/mocks"
"github.com/stretchr/testify/assert"
atlasv2 "go.mongodb.org/atlas-sdk/v20241113001/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241113004/admin"
)

func TestListOpts_Run(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions internal/cli/streams/processor/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage"
"github.com/spf13/cobra"
atlasv2 "go.mongodb.org/atlas-sdk/v20241113001/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241113004/admin"
)

type StartOpts struct {
cli.GlobalOpts
cli.ProjectOpts
cli.OutputOpts
streamsInstance string
processorName string
Expand Down
4 changes: 2 additions & 2 deletions internal/cli/streams/processor/stop.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import (
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/store"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage"
"github.com/spf13/cobra"
atlasv2 "go.mongodb.org/atlas-sdk/v20241113001/admin"
atlasv2 "go.mongodb.org/atlas-sdk/v20241113004/admin"
)

type StopOpts struct {
cli.GlobalOpts
cli.ProjectOpts
cli.OutputOpts
streamsInstance string
processorName string
Expand Down

0 comments on commit e916573

Please sign in to comment.