Skip to content

Commit 7b85bd8

Browse files
committed
Fix build issues
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
1 parent 9b48139 commit 7b85bd8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

bazel/licenses.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ def _fetch_licenses_impl(ctx):
2121
if ctx.attr.use_pkg_dev_go:
2222
args.add("--try_pkg_dev_go")
2323

24-
if ctx.attr.disallow_missing:
25-
args.add("--fatal_if_missing")
24+
# if ctx.attr.disallow_missing:
25+
# args.add("--fatal_if_missing")
2626

2727
args.add("--json_manual_input", ctx.file.manual_licenses)
2828
args.add("--json_output", ctx.outputs.out_found)

src/pixie_cli/pkg/pxconfig/config.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ func Cfg() *ConfigInfo {
7777
once.Do(func() {
7878
configPath, err := utils.EnsureDefaultConfigFilePath()
7979
if err != nil {
80-
utils.WithError(err).Fatal("Failed to load/create config file path")
80+
config = &ConfigInfo{}
81+
return
8182
}
8283
_, err = os.Stat(configPath)
8384
if os.IsNotExist(err) {

0 commit comments

Comments
 (0)