Skip to content

Commit

Permalink
Merge pull request #714 from zalando-incubator/github/group-update
Browse files Browse the repository at this point in the history
github: group update gomod
  • Loading branch information
AlexanderYastrebov authored Sep 18, 2024
2 parents 9cabc36 + dd64d7f commit 5dc2fb0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,16 @@ updates:
directory: "/" # Location of package manifests
schedule:
interval: "monthly"
groups:
all-go-mod-patch-and-minor:
patterns: ["*"]
update-types: ["patch", "minor"]
- package-ecosystem: "github-actions"
directory: "/" # For GitHub Actions, set the directory to / to check for workflow files in .github/workflows
schedule:
interval: "weekly"
# Keep Docker dependencies up to date
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "daily"
3 changes: 1 addition & 2 deletions kubernetes/pods.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ func isPodTerminating(p *corev1.Pod) bool {
}

func isPodRunning(p *corev1.Pod) bool {
return p.Status.ContainerStatuses != nil &&
len(p.Status.ContainerStatuses) > 0 &&
return len(p.Status.ContainerStatuses) > 0 &&
p.Status.ContainerStatuses[0].State.Running != nil &&
p.Status.PodIP != ""
}

0 comments on commit 5dc2fb0

Please sign in to comment.