Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-inf committed Sep 20, 2024
1 parent 1a11d0d commit a82da0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion pkg/controller/component/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ type SynthesizedComponent struct {
HostNetwork *kbappsv1.HostNetwork `json:"hostNetwork,omitempty"`
ComponentServices []kbappsv1.ComponentService `json:"componentServices,omitempty"`
MinReadySeconds int32 `json:"minReadySeconds,omitempty"`
Sidecars []string `json:"sidecars,omitempty"`
DisableExporter *bool `json:"disableExporter,omitempty"`
Stop *bool

Expand Down
6 changes: 3 additions & 3 deletions pkg/kbagent/service/command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ var _ = Describe("command", func() {
return err
}

Context("runCommandX", func() {
PContext("runCommandX", func() {
It("simple", func() {
action := &proto.ExecAction{
Commands: []string{"/bin/bash", "-c", "echo -n simple"},
Expand Down Expand Up @@ -184,7 +184,7 @@ var _ = Describe("command", func() {
})
})

Context("runCommandNonBlocking", func() {
PContext("runCommandNonBlocking", func() {
It("ok", func() {
action := &proto.ExecAction{
Commands: []string{"/bin/bash", "-c", "echo -n ok"},
Expand Down Expand Up @@ -245,7 +245,7 @@ var _ = Describe("command", func() {
})
})

Context("runCommand", func() {
PContext("runCommand", func() {
It("ok", func() {
action := &proto.ExecAction{
Commands: []string{"/bin/bash", "-c", "echo -n ok"},
Expand Down

0 comments on commit a82da0e

Please sign in to comment.