Skip to content

Commit

Permalink
refactor: remove unused code
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Igrychev <alexey.igrychev@flant.com>
  • Loading branch information
alexey-igrychev committed Feb 17, 2022
1 parent f1747f3 commit b59f07c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkg/storage/stages_storage.go
Expand Up @@ -4,7 +4,6 @@ import (
"context"
"errors"
"fmt"
"strings"

"github.com/werf/werf/pkg/container_runtime"
"github.com/werf/werf/pkg/image"
Expand All @@ -19,13 +18,6 @@ const (

var ErrBrokenImage = errors.New("broken image")

func BrokenImageErr(err error) bool {
if err != nil {
return strings.HasSuffix(err.Error(), ErrBrokenImage.Error())
}
return false
}

type StagesStorage interface {
GetStagesIDs(ctx context.Context, projectName string) ([]image.StageID, error)
GetStagesIDsByDigest(ctx context.Context, projectName, digest string) ([]image.StageID, error)
Expand Down

0 comments on commit b59f07c

Please sign in to comment.