Skip to content

Commit

Permalink
feat: update grpc interface
Browse files Browse the repository at this point in the history
  • Loading branch information
SparkYuan committed Mar 19, 2024
1 parent 85c4c93 commit 122c572
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pkg/cmd/mod/mod_init.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ type InitOptions struct {
}

var example = i18n.T(`# Create a kusion module template in the current directory
kusion mod init my-app
kusion mod init my-module
# Init a kusion module at the specified Path
kusion mod init my-app ./modules
kusion mod init my-module ./modules
# Init a module from a remote git template repository
kusion mod init my-app --template https://github.com/<user>/<repo>`)
kusion mod init my-module --template https://github.com/<user>/<repo>`)
var short = i18n.T("Create a kusion module along with common files and directories in the current directory")

const (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func mockPlugin() {
mockey.Mock(modules.NewPlugin).To(func(key string) (*modules.Plugin, error) {
return &modules.Plugin{Module: &fakeModule{}}, nil
}).Build()
mockey.Mock((*modules.Plugin).KillPluginClient).Return(nil).Build()
mockey.Mock((*modules.Plugin).KillPluginClient).Return().Build()
}

func TestAppConfigurationGenerator_Generate_CustomNamespace(t *testing.T) {
Expand Down

0 comments on commit 122c572

Please sign in to comment.