diff options
Diffstat (limited to 'app/models/clusters/concerns')
-rw-r--r-- | app/models/clusters/concerns/provider_status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/clusters/concerns/provider_status.rb b/app/models/clusters/concerns/provider_status.rb index 2da1ee7aabb..44da840bec3 100644 --- a/app/models/clusters/concerns/provider_status.rb +++ b/app/models/clusters/concerns/provider_status.rb @@ -24,7 +24,7 @@ module Clusters transition any - [:errored] => :errored end - before_transition any => [:errored, :created] do |provider| + before_transition any => [:errored, :created] do |provider, _| provider.nullify_credentials end |