Skip to content

Bundle summary throws an error if job is deleted #1913

@koopatroopa599

Description

@koopatroopa599

Describe the issue

Deleting a job and running databricks bundle summary throws an error:

panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0xa0 pc=0x13c44c4]

Configuration

bundle:
  name: example

include:
  - resources/*/*.yml

dev:
    mode: production
    workspace:
      host: https://xxxx.azuredatabricks.net
      root_path: /.bundle/${bundle.name}/${bundle.target}

Steps to reproduce the behavior

  1. Delete a job .yml file from the /resources/jobs/ folder
  2. Run databricks bundle summary

Expected Behavior

Command outputs the bundle summary

Actual Behavior

Command outputs an error message

OS and CLI version

Operating System: Windows 10 (22H2)
CLI version: 0.234.0

Is this a regression?

No

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingDABsDABs related issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions