Skip to content

Crash when no GCP project matches against --project.filter #1

@TaylorMutch

Description

@TaylorMutch
> nemesis --project.filter="moonlit-balm-268902" --reports.stdout.enable
F0221 12:04:43.923583   45975 runner.go:42] Failed to retrieve project resources: No projects found when matching against 'moonlit-balm-268902 AND lifecycleState=ACTIVE'
goroutine 1 [running]:
github.com/golang/glog.stacks(0xc00024d300, 0xc000290500, 0xaa, 0xfd)
	/Users/taylorm/go/pkg/mod/github.com/golang/glog@v0.0.0-20160126235308-23def4e6c14b/glog.go:769 +0xb8
github.com/golang/glog.(*loggingT).output(0x2153aa0, 0xc000000003, 0xc0005d01c0, 0x20e85ef, 0x9, 0x2a, 0x0)
	/Users/taylorm/go/pkg/mod/github.com/golang/glog@v0.0.0-20160126235308-23def4e6c14b/glog.go:720 +0x372
github.com/golang/glog.(*loggingT).printf(0x2153aa0, 0x3, 0x1afd362, 0x28, 0xc000639ec8, 0x1, 0x1)
	/Users/taylorm/go/pkg/mod/github.com/golang/glog@v0.0.0-20160126235308-23def4e6c14b/glog.go:655 +0x14b
github.com/golang/glog.Fatalf(...)
	/Users/taylorm/go/pkg/mod/github.com/golang/glog@v0.0.0-20160126235308-23def4e6c14b/glog.go:1148
github.com/UnityTech/nemesis/pkg/runner.(*Audit).Setup(0xc000639f18)
	/Users/taylorm/Projects/UnityTech/nemesis/pkg/runner/runner.go:42 +0xeb
main.main()
	/Users/taylorm/Projects/UnityTech/nemesis/main.go:12 +0xba

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions