-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move datastore configuration handling to downloader. #176
Conversation
Signed-off-by: Srinibas Maharana <srinibas@zededa.com>
Signed-off-by: Srinibas Maharana <srinibas@zededa.com>
Signed-off-by: Srinibas Maharana <srinibas@zededa.com>
@@ -544,16 +526,6 @@ func handleCreate(ctx *zedmanagerContext, key string, | |||
} | |||
publishAppInstanceStatus(ctx, &status) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Old code checked for status,Error != "' here. Why do we no longer need that check?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will add the check, missed during code removal. thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. One question below.
Signed-off-by: Srinibas Maharana <srinibas@zededa.com>
pull the latest eve 7/20/2023
a. The downloadable objects will be published to downloader, without datastore config.
b. removed the datastore configuration items from DownloaderConfig/Status structure
a. Added pubsub config handler functions for datastore config changes from zedagent
b. For every downloadable object config change, we will check for availability of data
store configuration.
c. For evert datastore configuration change, pick up the objects attached to the datastore
still in error state, for downloading.