From 30f8368886907bd29b7afd7604be0a80de573bae Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Thu, 7 Jul 2022 19:07:35 +0000 Subject: [PATCH] Remove git pull message This happens much too frequently to notify on. --- bootstrap-daemon/pvcbootstrapd/lib/git.py | 1 - 1 file changed, 1 deletion(-) diff --git a/bootstrap-daemon/pvcbootstrapd/lib/git.py b/bootstrap-daemon/pvcbootstrapd/lib/git.py index 5cc14f8..3bd887f 100755 --- a/bootstrap-daemon/pvcbootstrapd/lib/git.py +++ b/bootstrap-daemon/pvcbootstrapd/lib/git.py @@ -66,7 +66,6 @@ def pull_repository(config): g = git.cmd.Git(f"{config['ansible_path']}") g.pull(rebase=True, env=dict(GIT_SSH_COMMAND=git_ssh_cmd)) g.submodule("update", "--init", env=dict(GIT_SSH_COMMAND=git_ssh_cmd)) - notifications.send_webhook(config, "success", "Successfully updated Git repository") except Exception as e: logger.warn(e) notifications.send_webhook(config, "failure", "Failed to update Git repository")