diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a997e447..f7cd2e1b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: workflow_dispatch: push: tags: - - 'v*' + - "v*" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -20,7 +20,7 @@ jobs: uses: ./.github/workflows/main.yml release: - needs: [ test ] + needs: [test] runs-on: ubuntu-latest permissions: packages: write @@ -72,4 +72,4 @@ jobs: with: name: manifests path: /tmp/dist - retention-days: 14 \ No newline at end of file + retention-days: 14 diff --git a/internal/api/services/systems.go b/internal/api/services/systems.go index 72ea12b0..febef9cb 100644 --- a/internal/api/services/systems.go +++ b/internal/api/services/systems.go @@ -79,7 +79,7 @@ func (a *ApiHandlers) GetSystemOperator(ctx context.Context, req openapi.GetSyst } if system.OperatorID == nil { - return openapi.GetSystemOperator404JSONResponse(openapi.GetSystemOperator404JSONResponse{openapi.NotFoundJSONResponse(openapi.ErrorNotFound("no operator found"))}), nil + return openapi.GetSystemOperator404JSONResponse(openapi.GetOperator404JSONResponse{}), nil } return openapi.GetSystemOperator200JSONResponse(openapi.Operator{Id: utils.PtrUUID(system.Operator.ID), Name: system.Operator.Name}), nil