Skip to content

Commit

Permalink
fix: frontend compile issue due to new flag (#1200)
Browse files Browse the repository at this point in the history
  • Loading branch information
blumamir committed May 16, 2024
1 parent ad52f9e commit d883f44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"io/fs"
"log"
"net/http"
"os"

"github.com/odigos-io/odigos/common/consts"
"github.com/odigos-io/odigos/common/utils"
Expand Down Expand Up @@ -142,6 +143,7 @@ func httpFileServerWith404(fs http.FileSystem) http.Handler {
}

func main() {
flag.CommandLine = flag.NewFlagSet(os.Args[0], flag.ExitOnError)
flags := parseFlags()

if flags.Version {
Expand Down

0 comments on commit d883f44

Please sign in to comment.