We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba0a819 commit dc42cf3Copy full SHA for dc42cf3
llama-swap.go
@@ -132,6 +132,11 @@ func main() {
132
event.Emit(proxy.ConfigFileChangedEvent{
133
ReloadingState: proxy.ReloadingStateStart,
134
})
135
+ } else if changeEvent.Name == filepath.Join(configDir, "..data") && changeEvent.Has(fsnotify.Create) {
136
+ // the change for k8s configmap
137
+ event.Emit(proxy.ConfigFileChangedEvent{
138
+ ReloadingState: proxy.ReloadingStateStart,
139
+ })
140
}
141
142
case err := <-watcher.Errors:
0 commit comments