Skip to content

Commit

Permalink
Fix lint/go errors (deadcode)
Browse files Browse the repository at this point in the history
Signed-off-by: karamaru-alpha <mrnk3078@gmail.com>
  • Loading branch information
karamaru-alpha committed Oct 21, 2023
1 parent 2fb53a8 commit bc8f8c0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion pkg/app/ops/planpreviewoutputcleaner/cleaner.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import (
const (
outputTTL = 48 * time.Hour
cronSchedule = "0 9 * * *" // Run at 09:00 every day.
interval = 24 * time.Hour
prefix = "command-output/"
)

Expand Down
4 changes: 0 additions & 4 deletions pkg/app/server/grpcapi/grpcapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,6 @@ func gRPCStoreError(err error, msg string) error {
return status.Error(codes.Internal, fmt.Sprintf("Failed to %s", msg))
}

func makeUnregisteredAppsCacheKey(projectID string) string {
return fmt.Sprintf("HASHKEY:UNREGISTERED_APPS:%s", projectID)
}

func getPipedStatus(cs cache.Cache, id string) (model.Piped_ConnectionStatus, error) {
pipedStatus, err := cs.Get(id)
if errors.Is(err, cache.ErrNotFound) {
Expand Down

0 comments on commit bc8f8c0

Please sign in to comment.