Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add method to compare if error has tmp file path #187

Merged
merged 1 commit into from
Aug 17, 2018

Conversation

StrongMonkey
Copy link

add a method to check if the error message contains a tmp file path. It
is to prevent updating resource's condition forever and causing the
controller flapping. rancher/rancher#15103

@@ -4,6 +4,8 @@ import (
"reflect"
"time"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no newline here. strings should be in the same block of imports as time and reflect

@StrongMonkey StrongMonkey force-pushed the fix-random-string branch 7 times, most recently from 0df1cc1 to 1fe673c Compare August 17, 2018 22:23
add a method to check if the error message contains a tmp file path. It
is to prevent updating resource's condition forever and causing the
controller flapping. rancher/rancher#15103
@cjellick
Copy link

LGTM

@cjellick cjellick merged commit 643868f into rancher:master Aug 17, 2018
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.

2 participants