Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

fix invalid log #2429

Merged
merged 2 commits into from
Oct 23, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
use %q
carlory committed Oct 22, 2018
commit 630330b4807bd7a1ce37eaf9bca0b761af8d07b0
4 changes: 2 additions & 2 deletions pkg/controller/broker_client_manager.go
Original file line number Diff line number Diff line change
@@ -85,7 +85,7 @@ func (m *BrokerClientManager) UpdateBrokerClient(brokerKey BrokerKey, clientConf
existing, found := m.clients[brokerKey]

if !found || configHasChanged(existing.clientConfig, clientConfig) {
glog.V(4).Infof("Updating OSB client for broker %s, URL: %s", brokerKey.String(), clientConfig.URL)
glog.V(4).Infof("Updating OSB client for broker %q, URL: %s", brokerKey.String(), clientConfig.URL)
return m.createClient(brokerKey, clientConfig)
}

@@ -97,7 +97,7 @@ func (m *BrokerClientManager) RemoveBrokerClient(brokerKey BrokerKey) {
m.mu.Lock()
defer m.mu.Unlock()

glog.V(4).Infof("Removing OSB client for broker %s", brokerKey.String())
glog.V(4).Infof("Removing OSB client for broker %q", brokerKey.String())
delete(m.clients, brokerKey)
}