Skip to content

Commit

Permalink
make constnat not linux specific
Browse files Browse the repository at this point in the history
  • Loading branch information
yuval-k committed Aug 9, 2018
1 parent 5c45402 commit 8641d4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions pkg/platforms/kubernetes/client.go
@@ -0,0 +1,3 @@
package kubernetes

const CriRuntime = "/var/run/cri.sock"
2 changes: 0 additions & 2 deletions pkg/platforms/kubernetes/client_alphav1_linux.go
Expand Up @@ -24,8 +24,6 @@ import (
k8models "github.com/solo-io/squash/pkg/platforms/kubernetes/models"
)

const CriRuntime = "/var/run/cri.sock"

type CRIContainerProcessAlphaV1 struct{}

func NewCRIContainerProcessAlphaV1() (*CRIContainerProcessAlphaV1, error) {
Expand Down

0 comments on commit 8641d4d

Please sign in to comment.