Skip to content

Commit

Permalink
wip: workload step
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie authored May 6, 2024
1 parent cafa6f6 commit 804c0c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:
push:
tags:
- 'v*'
- "v*"

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -20,7 +20,7 @@ jobs:
uses: ./.github/workflows/main.yml

release:
needs: [ test ]
needs: [test]
runs-on: ubuntu-latest
permissions:
packages: write
Expand Down Expand Up @@ -72,4 +72,4 @@ jobs:
with:
name: manifests
path: /tmp/dist
retention-days: 14
retention-days: 14
2 changes: 1 addition & 1 deletion internal/api/services/systems.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 804c0c3

Please sign in to comment.