forked from LaconicNetwork/kompose
chore: fix some typos in comments (#1863)
Signed-off-by: cuiyourong <cuiyourong@gmail.com>
This commit is contained in:
parent
cdcb0e7f61
commit
d274f9947d
@ -62,7 +62,7 @@ var (
|
||||
// default is true.
|
||||
WithKomposeAnnotation bool
|
||||
|
||||
// MultipleContainerMode which enables creating multi containers in a single pod is a developping function.
|
||||
// MultipleContainerMode which enables creating multi containers in a single pod is a developing function.
|
||||
// default is false
|
||||
MultipleContainerMode bool
|
||||
|
||||
|
||||
@ -100,7 +100,7 @@ var RootCmd = &cobra.Command{
|
||||
}
|
||||
|
||||
// Execute executes the root level command.
|
||||
// It returns an erorr if any.
|
||||
// It returns an error if any.
|
||||
func Execute() error {
|
||||
return RootCmd.Execute()
|
||||
}
|
||||
|
||||
@ -327,7 +327,7 @@ func TestKomposeConvert(t *testing.T) {
|
||||
opt kobject.ConvertOptions
|
||||
expectedNumObjs int
|
||||
}{
|
||||
// objects generated are deployment, service nework policies (2) and pvc
|
||||
// objects generated are deployment, service network policies (2) and pvc
|
||||
"Convert to Deployments (D)": {newKomposeObject(), kobject.ConvertOptions{CreateD: true, Replicas: replicas, IsReplicaSetFlag: true}, 4},
|
||||
"Convert to Deployments (D) with v3 replicas": {newKomposeObject(), kobject.ConvertOptions{CreateD: true}, 4},
|
||||
"Convert to DaemonSets (DS)": {newKomposeObject(), kobject.ConvertOptions{CreateDS: true}, 4},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user