MCPcopy Index your code
hub / github.com/devspace-sh/devspace / hasChanges

Function hasChanges

pkg/devspace/pullsecrets/registry.go:179–181  ·  view source on GitHub ↗
(existing, updated DockerConfigEntry)

Source from the content-addressed store, hash-verified

177}
178
179func hasChanges(existing, updated DockerConfigEntry) bool {
180 return existing.Auth != updated.Auth || existing.Email != updated.Email
181}
182
183func toPullSecretData(dockerConfig *DockerConfigJSON) (map[string][]byte, error) {
184 data, err := json.Marshal(dockerConfig)

Callers 1

CreatePullSecretMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected