Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
numerology committed Jan 30, 2020
1 parent 92db384 commit 963e64b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ go_register_toolchains()

http_archive(
name = "bazel_gazelle",
sha256 = "7949fc6cc17b5b191103e97481cf8889217263acf52e00b560683413af204fcb",
urls = ["https://github.com/bazelbuild/bazel-gazelle/releases/download/0.16.0/bazel-gazelle-0.16.0.tar.gz"],
sha256 = "86c6d481b3f7aedc1d60c1c211c6f76da282ae197c3b3160f54bd3a8f847896f",
urls = ["https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.19.1/bazel-gazelle-v0.19.1.tar.gz"],
)

load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")
Expand Down
2 changes: 1 addition & 1 deletion backend/src/apiserver/server/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func ReadPipelineFile(fileName string, fileReader io.Reader, maxFileLength int)
func PatchPipelineDefaultParameter(file []byte, toPatch map[string]string) ([]byte, error) {
pipelineRawString := string(file)
for key, value := range toPatch {
strings.ReplaceAll(pipelineRawString, key, value)
strings.Replace(pipelineRawString, key, value)
}
return []byte(pipelineRawString), nil
}
Expand Down

0 comments on commit 963e64b

Please sign in to comment.