v0.84.0: catalog-driven initial_credentials — read an app's auto-generated first-login from a file and show it on the app page
This commit is contained in:
@@ -687,6 +687,12 @@ func deepCopyStack(s *Stack) Stack {
|
||||
cp.Meta.HealthCheck = &hcCopy
|
||||
}
|
||||
|
||||
// Deep-copy Meta.InitialCreds pointer
|
||||
if s.Meta.InitialCreds != nil {
|
||||
icCopy := *s.Meta.InitialCreds
|
||||
cp.Meta.InitialCreds = &icCopy
|
||||
}
|
||||
|
||||
return cp
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user