Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
Make notification messages consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
anjannath committed Apr 5, 2021
1 parent a2e36f2 commit b87f96c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CodeReady Containers/DaemonCommander/Handlers.swift
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func HandleStop() {
DispatchQueue.main.async {
let appDelegate = NSApplication.shared.delegate as? AppDelegate
appDelegate?.pollStatus()
displayNotification(title: "Successfully Stopped Cluster", body: "The CRC Cluster was successfully stopped")
displayNotification(title: "Successfully Stopped Cluster", body: "The OpenShift Cluster was successfully stopped")
}
}
if stopResult.Error != "" {
Expand All @@ -193,7 +193,7 @@ func HandleStart(pullSecretPath: String) {
} else {
response = try SendCommandToDaemon(command: Request(command: "start", args: ["pullSecretFile": pullSecretPath]))
}
displayNotification(title: "CodeReady Containers", body: "Starting OpenShift Cluster, this could take a few minutes..")
displayNotification(title: "Starting Cluster", body: "Starting OpenShift Cluster, this could take a few minutes..")
} catch let error {
// show notification about the failure
// Adjust the menus
Expand All @@ -210,7 +210,7 @@ func HandleStart(pullSecretPath: String) {
DispatchQueue.main.async {
let appDelegate = NSApplication.shared.delegate as? AppDelegate
appDelegate?.pollStatus()
displayNotification(title: "CodeReady Containers", body: "OpenShift Cluster is running")
displayNotification(title: "Successfully started Cluster", body: "OpenShift Cluster is running")
}
}
if startResult.Error != "" {
Expand Down Expand Up @@ -245,7 +245,7 @@ func HandleDelete() {
DispatchQueue.main.async {
let appDelegate = NSApplication.shared.delegate as? AppDelegate
appDelegate?.pollStatus()
displayNotification(title: "Cluster Deleted", body: "The CRC Cluster is successfully deleted")
displayNotification(title: "Cluster Deleted", body: "The OpenShift Cluster is successfully deleted")
}
}
if deleteResult.Error != "" {
Expand Down

0 comments on commit b87f96c

Please sign in to comment.