Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
fix: Kubernetes lifecycle hook does not work because "-e" parameters …
Browse files Browse the repository at this point in the history
…are added
  • Loading branch information
Maya Baya committed Jul 12, 2022
1 parent f2a5a2d commit fc16cee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ func main() {
command := cmd.Main()
args := prepareArgs(os.Args)

if args != nil && len(args) > 1 && args[1] != "serve" {
if args != nil && len(args) > 1 && (args[1] == "sync-to-remote" || args[1] == "remote-to-local-sync") {
args = args[1:]
command.SetArgs(args)
}
Expand Down

0 comments on commit fc16cee

Please sign in to comment.