Skip to content

Commit

Permalink
feat(#214): allow operation type LIBRARY
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanHCB committed Oct 17, 2023
1 parent bf4b643 commit 45aee47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/services/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ func (s *Impl) validRepoKey(ctx context.Context, candidate string, serviceName s
return errors.New("repository key must have acceptable name and type combination (allowed types: api implementation helm-deployment), and for helm-deployment the name must match the service name")
}

var validOperationTypesForService = []string{"WORKLOAD", "PLATFORM", "APPLICATION"}
var validOperationTypesForService = []string{"WORKLOAD", "PLATFORM", "APPLICATION", "LIBRARY"}

func validOperationType(candidate *string) bool {
if candidate == nil {
Expand Down

0 comments on commit 45aee47

Please sign in to comment.