Skip to content

Conversation

lbonanomi
Copy link

Per #195 (comment), this is an effort to halt update-stats.py in the face of a GHE instance in maintenance mode using the vendor CLI tools.

Please note the strange looking construction ghe-maintenance --query | cat. ghe-maintenance returns 0 only for instances in maintenance mode, so to re-use the executeCommand function a pipe to cat is added to ensure a successful run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant