Skip to content

Commit

Permalink
fix(pods): correct enum naming
Browse files Browse the repository at this point in the history
  • Loading branch information
m0nhawk committed Oct 14, 2019
1 parent 73bce30 commit 1edb0d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/handlers/pods.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,9 @@ func createK8sPod(hash string, accessToken string, userName string) error {
case "IfNotPresent":
pullPolicy = k8sv1.PullPolicy(k8sv1.PullIfNotPresent)
case "Always":
pullPolicy = k8sv1.PullPolicy(k8sv1.Always)
pullPolicy = k8sv1.PullPolicy(k8sv1.PullAlways)
case "Never":
pullPolicy = k8sv1.PullPolicy(k8sv1.Never)
pullPolicy = k8sv1.PullPolicy(k8sv1.PullNever)
default:
pullPolicy = k8sv1.PullPolicy(k8sv1.PullIfNotPresent)
}
Expand Down

0 comments on commit 1edb0d8

Please sign in to comment.