Skip to content

Commit 50b6be9

Browse files
committed
fix: update playbook spec schema
1 parent 09aca0a commit 50b6be9

File tree

3 files changed

+1011
-2
lines changed

3 files changed

+1011
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ migrate-test: hack/migrate/go.mod
7474
cd hack/migrate && go run ./main.go
7575

7676
cp-playbook-schema:
77-
cp ../incident-commander/config/schemas/playbook-spec.schema.json schema/
77+
cp ../mission-control/config/schemas/playbook-spec.schema.json schema/
7878

7979
fmt_json:
8080
ls fixtures/expectations/*.json | while read -r jf; do \

context/context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ func (k Context) WithSubject(subject string) Context {
189189

190190
func (k Context) Subject() string {
191191
subject := k.Value("rbac-subject")
192-
if subject != "" {
192+
if subject != nil {
193193
return subject.(string)
194194
}
195195

0 commit comments

Comments
 (0)