Skip to content

Commit

Permalink
yaml add redis target
Browse files Browse the repository at this point in the history
Signed-off-by: caimingxia <mingshao.cmx@alibaba-inc.com>
  • Loading branch information
MandssS authored and tiny-x committed May 18, 2023
1 parent 2703430 commit b76d5e8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@
package main

import (
"github.com/chaosblade-io/chaosblade-exec-middleware/exec/nginx"
"github.com/chaosblade-io/chaosblade-exec-os/exec/model"
"log"
"os"

"github.com/chaosblade-io/chaosblade-exec-middleware/exec/nginx"
"github.com/chaosblade-io/chaosblade-exec-middleware/exec/redis"
"github.com/chaosblade-io/chaosblade-exec-os/exec/model"

"github.com/chaosblade-io/chaosblade-spec-go/spec"
"github.com/chaosblade-io/chaosblade-spec-go/util"
)
Expand All @@ -41,6 +43,7 @@ func main() {
func getModels() *spec.Models {
modelCommandSpecs := []spec.ExpModelCommandSpec{
nginx.NewNginxCommandSpec(),
redis.NewRedisCommandSpec(),
}
specModels := make([]*spec.Models, 0)
for _, modeSpec := range modelCommandSpecs {
Expand Down

0 comments on commit b76d5e8

Please sign in to comment.