1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 15:29:42 +02:00

fix(docker): fix extension spelling EE-5277 (#8956)

This commit is contained in:
Prabhat Khera 2023-05-18 10:21:07 +12:00 committed by GitHub
parent b58cd1e87e
commit 14fa60f6e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 9 deletions

View file

@ -50,7 +50,7 @@ type publicSettingsResponse struct {
CheckinInterval int `example:"60"`
}
IsDockerDesktopExtention bool `json:"IsDockerDesktopExtention" example:"false"`
IsDockerDesktopExtension bool `json:"IsDockerDesktopExtension" example:"false"`
}
// @id SettingsPublic
@ -91,7 +91,7 @@ func generatePublicSettings(appSettings *portainer.Settings) *publicSettingsResp
publicSettings.Edge.CommandInterval = appSettings.Edge.CommandInterval
publicSettings.Edge.CheckinInterval = appSettings.EdgeAgentCheckinInterval
publicSettings.IsDockerDesktopExtention = appSettings.IsDockerDesktopExtention
publicSettings.IsDockerDesktopExtension = appSettings.IsDockerDesktopExtension
//if OAuth authentication is on, compose the related fields from application settings
if publicSettings.AuthenticationMethod == portainer.AuthenticationOAuth {