Skip to content

Commit

Permalink
Deprecating Computer.cliOnline()
Browse files Browse the repository at this point in the history
Functionality was moved to OnlineNodeCommand class already
  • Loading branch information
pjanouse committed May 3, 2016
1 parent 60a3fdf commit e9edd5c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/main/java/hudson/model/Computer.java
Expand Up @@ -523,6 +523,10 @@ public void cliOffline(@Option(name="-m",usage="Record the note about why you ar
setTemporarilyOffline(true, new ByCLI(cause));
}

/**
* Deprecated - implementation of CLI command "online-node" moved to {@link hudson.cli.OnlineNodeCommand}.
*/
@Deprecated
public void cliOnline() throws ExecutionException, InterruptedException {
checkPermission(CONNECT);
setTemporarilyOffline(false, null);
Expand Down

0 comments on commit e9edd5c

Please sign in to comment.